Fixed upgrade function even though it may not be needed
This commit is contained in:
parent
7ff1031627
commit
a8fce19289
@ -195,6 +195,8 @@ def upgradeVNF(vnf):
|
|||||||
vnf['qrtURL'] = None
|
vnf['qrtURL'] = None
|
||||||
else: #
|
else: #
|
||||||
vnf['qrtURL'] = f"https://twitter.com/{vnf['qrt']['screen_name']}/status/{vnf['qrt']['id']}"
|
vnf['qrtURL'] = f"https://twitter.com/{vnf['qrt']['screen_name']}/status/{vnf['qrt']['id']}"
|
||||||
|
if 'isGif' not in vnf:
|
||||||
|
vnf['isGif'] = False
|
||||||
return vnf
|
return vnf
|
||||||
|
|
||||||
def getDefaultTTL(): # TTL for deleting items from the database
|
def getDefaultTTL(): # TTL for deleting items from the database
|
||||||
|
Loading…
x
Reference in New Issue
Block a user