mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 06:37:16 -04:00
Use absolute path
This commit is contained in:
parent
4a4a0fac62
commit
8149ee162c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if os.path.exists(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'))
|
|||
pass
|
||||
else:
|
||||
# Get SQL script from file
|
||||
fd = open('create_db.sql', 'r')
|
||||
fd = open(os.path.join(os.path.dirname(__file__), 'create_db.sql'), 'r')
|
||||
script = fd.read()
|
||||
|
||||
# Open database connection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue