mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-05 22:33:59 -07:00
Forgot 'not' in 2dcae5e219
This commit is contained in:
parent
196048cf38
commit
ee125dfadc
1 changed files with 3 additions and 3 deletions
|
@ -95,9 +95,9 @@ def initialize(config_file):
|
|||
'HTTP_PORT out of bounds: 21 < %s < 65535', CONFIG.HTTP_PORT)
|
||||
CONFIG.HTTP_PORT = 8181
|
||||
|
||||
if CONFIG.HTTPS_CERT.startswith(os.path.abspath(DATA_DIR)):
|
||||
if not CONFIG.HTTPS_CERT.startswith(os.path.abspath(DATA_DIR)):
|
||||
CONFIG.HTTPS_CERT = os.path.join(DATA_DIR, 'server.crt')
|
||||
if CONFIG.HTTPS_KEY.startswith(os.path.abspath(DATA_DIR)):
|
||||
if not CONFIG.HTTPS_KEY.startswith(os.path.abspath(DATA_DIR)):
|
||||
CONFIG.HTTPS_KEY = os.path.join(DATA_DIR, 'server.key')
|
||||
|
||||
if not CONFIG.LOG_DIR.startswith(os.path.abspath(DATA_DIR)):
|
||||
|
@ -823,4 +823,4 @@ def shutdown(restart=False, update=False):
|
|||
|
||||
def generate_uuid():
|
||||
logger.debug(u"Generating UUID...")
|
||||
return uuid.uuid4().hex
|
||||
return uuid.uuid4().hex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue