mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-02-01 19:21:53 -05:00
Merge branch 'fix-subprocess-checkoutput-on-rclone' into 'master'
fix: subprocess.check_output to produce string and not bytes See merge request fdroid/fdroidserver!1490
This commit is contained in:
@@ -271,7 +271,7 @@ def update_remote_storage_with_rclone(
|
||||
logging.info('Custom configuration not found.')
|
||||
logging.info(
|
||||
'Using default configuration at {}'.format(
|
||||
subprocess.check_output('rclone config file')
|
||||
subprocess.check_output(split("rclone config file")).decode("utf-8")
|
||||
)
|
||||
)
|
||||
configfilename = None
|
||||
@@ -280,7 +280,7 @@ def update_remote_storage_with_rclone(
|
||||
logging.info('Custom configuration not found.')
|
||||
logging.info(
|
||||
'Using default configuration at {}'.format(
|
||||
subprocess.check_output('rclone config file')
|
||||
subprocess.check_output(split("rclone config file")).decode("utf-8")
|
||||
)
|
||||
)
|
||||
configfilename = None
|
||||
|
||||
Reference in New Issue
Block a user