X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=globals.py;fp=globals.py;h=f992574ef77511a471512020c006385e7adf7206;hb=5e241dc47e497c547463cecc07946ea6882835a7;hp=8420ebd9913d5fefb5c1e1161f52657d7ca60cf7;hpb=41262fc75551d35bcc9979011078b0e5b4e7b36a;p=kiosk.git diff --git a/globals.py b/globals.py index 8420ebd..f992574 100644 --- a/globals.py +++ b/globals.py @@ -1,11 +1,12 @@ data = {} + def put(key, value): data[key] = value + def get(key): if key in data: return data[key] else: return None -