Resolved -u bug

This commit is contained in:
Mr.Robot
2017-03-16 23:57:35 +01:00
parent 5560c7c6ee
commit 6f89f48235

View File

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