From fb2e50c81fb9588a1f7b8ac2b9e1d598c6f03d44 Mon Sep 17 00:00:00 2001 From: kaliko Date: Fri, 30 Apr 2021 10:04:10 +0200 Subject: [PATCH] Cleanup obsolete code (ralated to 6194c3a) --- sima/launch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sima/launch.py b/sima/launch.py index 4cdcae0..0ff7da3 100644 --- a/sima/launch.py +++ b/sima/launch.py @@ -111,10 +111,9 @@ def start(sopt, restart=False): logger.info('Creating database in "%s"', db_file) open(db_file, 'a').close() # TODO: to remove with new simadb in v0.18 SimaDB(db_path=db_file).create_db() - if sopt.options.get('create_db', None): - logger.info('Done, bye...') else: logger.info('Database already there, not overwriting %s', db_file) + logger.info('Done, bye...') sys.exit(0) if cmd == "purge-history": db_file = config.get('sima', 'db_file') -- 2.39.5