Fixed upgrade function even though it may not be needed

This commit is contained in:
Dylan 2022-12-28 18:33:55 +00:00
parent 7ff1031627
commit a8fce19289

View File

@ -195,6 +195,8 @@ def upgradeVNF(vnf):
vnf['qrtURL'] = None
else: #
vnf['qrtURL'] = f"https://twitter.com/{vnf['qrt']['screen_name']}/status/{vnf['qrt']['id']}"
if 'isGif' not in vnf:
vnf['isGif'] = False
return vnf
def getDefaultTTL(): # TTL for deleting items from the database