mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2025-12-16 23:41:12 +00:00
potential fixes for windows
hopefully fixes scss and email generation on windows by fixing runcmd() and (optionally) reading npm bin location from the 'npm bin' command. also, config path is cast to string before being passed to configparser.
This commit is contained in:
@@ -72,7 +72,7 @@ else:
|
||||
|
||||
# Temp config so logger knows whether to use debug mode or not
|
||||
temp_config = configparser.RawConfigParser()
|
||||
temp_config.read(config_path)
|
||||
temp_config.read(str(config_path.resolve()))
|
||||
|
||||
|
||||
def create_log(name):
|
||||
|
||||
@@ -441,7 +441,7 @@ def modifyConfig():
|
||||
temp_config = configparser.RawConfigParser(
|
||||
comment_prefixes="/", allow_no_value=True
|
||||
)
|
||||
temp_config.read(config_path)
|
||||
temp_config.read(str(config_path.resolve()))
|
||||
for section in data:
|
||||
if section in temp_config and 'restart-program' not in section:
|
||||
for item in data[section]:
|
||||
|
||||
Reference in New Issue
Block a user