mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Don't thread before daemonising.
This commit is contained in:
parent
a393d1a50a
commit
f80429ef7a
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ def initialize(config_file):
|
||||||
|
|
||||||
# Refresh the users list on startup
|
# Refresh the users list on startup
|
||||||
if CONFIG.PMS_TOKEN and CONFIG.REFRESH_USERS_ON_STARTUP:
|
if CONFIG.PMS_TOKEN and CONFIG.REFRESH_USERS_ON_STARTUP:
|
||||||
threading.Thread(target=plextv.refresh_users).start()
|
plextv.refresh_users()
|
||||||
|
|
||||||
# Store the original umask
|
# Store the original umask
|
||||||
UMASK = os.umask(0)
|
UMASK = os.umask(0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue