This commit is contained in:
bashrc committed 2020-12-13 22:24:41 +00:00
1 parent f1886ddd9c
commit 5fe459e656
1 file changed
+1
+1
View File
@@ -58,6 +58,7 @@ def createInitialLastSeen(baseDir: str, httpPrefix: str) -> None:
nickname + '@' + domain + '/users/' + nickname
lastSeenFilename = \
lastSeenDir + '/' + actor.replace('/', '#') + '.txt'
print('lastSeenFilename: ' + lastSeenFilename)
if not os.path.isfile(lastSeenFilename):
with open(lastSeenFilename, 'w+') as fp:
fp.write(str(0))