X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flaunch.py;h=27e9d6bfdab60e75a2832a2b8e3683b7d341adf7;hb=568365b3b2ec343ffa3e1b2159c38abbe88011eb;hp=0ff7da3aa38e220ad0fb54777559cb0681f434e5;hpb=fb2e50c81fb9588a1f7b8ac2b9e1d598c6f03d44;p=mpd-sima.git diff --git a/sima/launch.py b/sima/launch.py index 0ff7da3..27e9d6b 100644 --- a/sima/launch.py +++ b/sima/launch.py @@ -109,7 +109,6 @@ def start(sopt, restart=False): if cmd == "create-db": if not isfile(db_file): 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() else: logger.info('Database already there, not overwriting %s', db_file)