mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03: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:
commit
aeb8a7a3e5
1 changed files with 2 additions and 2 deletions
|
|
@ -271,7 +271,7 @@ def update_remote_storage_with_rclone(
|
||||||
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 config file')
|
subprocess.check_output(split("rclone config file")).decode("utf-8")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
configfilename = None
|
configfilename = None
|
||||||
|
|
@ -280,7 +280,7 @@ def update_remote_storage_with_rclone(
|
||||||
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 config file')
|
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