From 3e36104d9f1442aca27f9669454185f6c6ac497d Mon Sep 17 00:00:00 2001 From: localhorst Date: Tue, 10 Jan 2023 22:59:59 +0100 Subject: [PATCH] fix uninitialized var --- compare.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compare.py b/compare.py index 33532b6..2452ef6 100644 --- a/compare.py +++ b/compare.py @@ -20,6 +20,7 @@ if __name__ == "__main__": seller_db = TinyDB("seller_db.json") database_lenght = len(seller_db.all()) comparison_results = list() + seller_listing_data = False if database_lenght == 0: print("Unable to load seller shop database!") sys.exit(-1)