Skip to content

Commit

Permalink
Fix -f in Timescale Setup in manage.py (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam-kapila committed Mar 20, 2020
1 parent 8065c2a commit dcb7da9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion listenbrainz/webserver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def gen_app(config_path=None, debug=None):
create_redis(app)

# Influx connection
create_influx(app)
# create_influx(app)

# RabbitMQ connection
try:
Expand Down
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def init_db(force, create_db):
if not res:
raise Exception('Failed to drop existing database and user! Exit code: %i' % res)

if create_db:
if create_db or force:
print('Creating user and a database...')
res = ts.run_sql_script_without_transaction(os.path.join(TIMESCALE_SQL_DIR, 'create_db.sql'))
if not res:
Expand Down

0 comments on commit dcb7da9

Please sign in to comment.