From eccc63961049e050ec589c1ddc3f18ba2871ace7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 31 Dec 2024 11:28:04 +0800 Subject: [PATCH] bugfix --- ahserver/serverenv.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ahserver/serverenv.py b/ahserver/serverenv.py index 6a32ba5..ecc9e56 100644 --- a/ahserver/serverenv.py +++ b/ahserver/serverenv.py @@ -6,6 +6,13 @@ from appPublic.dictObject import DictObject class ServerEnv(DictObject): pass +def get_serverenv(name): + g = ServerEnv() + return g.get(name) + +def set_serverenv(name, value): + g = ServerEnv() + g[name] = value clientkeys = { "iPhone":"iphone",