Missing datetime

main
Bob Mottram 2021-10-20 15:35:56 +01:00
parent 732b8efc97
commit 9ac0617e3c
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ def _updateCachedHashtagSwarm(baseDir: str, nickname: str, domain: str,
modifiedDate = None
try:
modifiedDate = \
datetime.strptime(lastModified, "%Y-%m-%dT%H:%M:%SZ")
datetime.datetime.strptime(lastModified, "%Y-%m-%dT%H:%M:%SZ")
except BaseException:
print('WARN: unable to parse last modified cache date ' +
str(lastModified))