commit 7b81325e6e523518fb01834a633b5362910424cc
parent 72da2a0d4ff0c3059e2b1c578b538cf4714c92af
Author: rbckman <rob@tarina.org>
Date: Sun, 9 Aug 2026 10:15:05 +0300
sådär
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/server.py b/server.py
@@ -113,9 +113,10 @@ def savejson(thename, thedict):
#hearts will be files as usernames with timestamp in a hearts folder in post folder. be stored and checked in u/hearts and post/hearts
# be sure to add home domain setting to username
#make save list a dict use same names
+ name=thename
thename=basedir+thename
if os.path.exists(thename):
- p=loadjson(thename)
+ p=loadjson(name)
if isinstance(p, dict):
thedict.update(p)
#for key, i in thedict.items():