From a8fce192890fbaf065e5990bce9699b0def33de8 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 28 Dec 2022 18:33:55 +0000 Subject: [PATCH] Fixed upgrade function even though it may not be needed --- twitfix.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/twitfix.py b/twitfix.py index 9c72bf2..9703b1a 100644 --- a/twitfix.py +++ b/twitfix.py @@ -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