alt-html-css
Bob Mottram 2020-12-13 22:24:41 +00:00
parent f1886ddd9c
commit 5fe459e656
1 changed files with 1 additions and 0 deletions

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))