fix uninitialized var

This commit is contained in:
Hendrik Schutter 2023-01-10 22:59:59 +01:00
parent 6eef839e34
commit 3e36104d9f
1 changed files with 1 additions and 0 deletions

View File

@ -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)