From 6f89f48235ed37dbd2294823e81162f2e85d58a5 Mon Sep 17 00:00:00 2001 From: "Mr.Robot" Date: Thu, 16 Mar 2017 23:57:35 +0100 Subject: [PATCH] Resolved -u bug --- theZoo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theZoo.py b/theZoo.py index b5280cb..144a6be 100644 --- a/theZoo.py +++ b/theZoo.py @@ -77,7 +77,8 @@ def main(): # Check if update flag is on if arguments.update_bol == 1: a = Updater() - a.update_db() + with open('conf/db.ver', 'r') as f: + a.update_db(f.readline()) sys.exit(1) # Check if version flag is on