Merge pull request #49 from PhantomGhosts/master

Resolved -u bug
This commit is contained in:
Yuval Nativ
2017-03-17 14:42:01 +07:00
committed by GitHub

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