mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-12-22 17:10:11 +00:00
Fix first start for docker
This commit is contained in:
parent
922987454f
commit
ef7fc55864
@ -37,6 +37,7 @@ else:
|
||||
local_dir = (Path(__file__).parents[2] / 'data').resolve()
|
||||
|
||||
first_run = False
|
||||
if data_dir.exists() is False or (data_dir / 'config.ini').exists() is False:
|
||||
if not data_dir.exists():
|
||||
Path.mkdir(data_dir)
|
||||
print(f'Config dir not found, so created at {str(data_dir)}')
|
||||
|
Loading…
Reference in New Issue
Block a user