mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
fix: jinja 2 CVE
This commit is contained in:
parent
3f59d0908f
commit
8255dec6b8
1 changed files with 2 additions and 4 deletions
|
@ -268,21 +268,19 @@ def update_remote_storage_with_rclone(
|
||||||
)
|
)
|
||||||
configfilename = USER_RCLONE_CONF
|
configfilename = USER_RCLONE_CONF
|
||||||
else:
|
else:
|
||||||
rclone_conf_str = split("rclone config file")
|
|
||||||
logging.info('Custom configuration not found.')
|
logging.info('Custom configuration not found.')
|
||||||
logging.info(
|
logging.info(
|
||||||
'Using default configuration at {}'.format(
|
'Using default configuration at {}'.format(
|
||||||
subprocess.check_output(rclone_conf_str).decode("utf-8")
|
subprocess.check_output(split("rclone config file")).decode("utf-8")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
configfilename = None
|
configfilename = None
|
||||||
else:
|
else:
|
||||||
rclone_conf_str = split("rclone config file")
|
|
||||||
logging.warning("'path_to_custom_rclone_config' not found in config.yml")
|
logging.warning("'path_to_custom_rclone_config' not found in config.yml")
|
||||||
logging.info('Custom configuration not found.')
|
logging.info('Custom configuration not found.')
|
||||||
logging.info(
|
logging.info(
|
||||||
'Using default configuration at {}'.format(
|
'Using default configuration at {}'.format(
|
||||||
subprocess.check_output(rclone_conf_str).decode("utf-8")
|
subprocess.check_output(split("rclone config file")).decode("utf-8")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
configfilename = None
|
configfilename = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue