def SaveStoredData(self, key, value): k = None try: k = Key.get(Name=key) k.Value = value k.save() except Exception as e: print("Could not save stored data %s " % e) if k is None: k = Key.create(Name=key, Value=value)
def SaveStoredData(self, key, value): k = None try: k = Key.get(Name=key) k.Value = value k.save() except Exception as e: pass if k is None: k = Key.create(Name=key, Value=value)
def SaveStoredData(self, key, value): k = None try: k = Key.get(Name=key) k.Value = value except Exception as e: pass if k is None: k = Key.create(Name=key, Value=value) k.save()