Fix set value bug

This commit is contained in:
Martijn Alberts committed 2018-03-05 16:04:49 +01:00
1 parent c40f84d55d
commit 78dfb44739
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ def main():
data = json.load(data_file)
print data
user.store.prop(PR_EC_WEBACCESS_SETTINGS_JSON).set_value(json.dumps(data))
user.store.create_prop(PR_EC_WEBACCESS_SETTINGS_JSON, json.dumps(data))
if options.remove:
user.store.delete(user.store.prop('PR_EC_WEBACCESS_SETTINGS_JSON'))