Skip to content

Commit

Permalink
Fixed DBFILE env variable checking
Browse files Browse the repository at this point in the history
  • Loading branch information
salivian committed Mar 17, 2021
1 parent 8fb7019 commit 9b39aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/bin/db_rest_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os
if 'DBFILE' in os.environ:
file = os.environ['DBFILE']

engine = create_engine('sqlite:///'+file)

app = FastAPI()
Expand Down

0 comments on commit 9b39aa4

Please sign in to comment.