mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #179 from JimboJoe/patch-1
Fix backup when /home/yunohost.backup/archives is on a different device
This commit is contained in:
commit
53acba8035
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ def backup_create(name=None, description=None, output_directory=None,
|
|||
m18n.n('backup_creation_failed'))
|
||||
|
||||
# Move info file
|
||||
os.rename(tmp_dir + '/info.json',
|
||||
shutil.move(tmp_dir + '/info.json',
|
||||
'{:s}/{:s}.info.json'.format(archives_path, name))
|
||||
|
||||
# Clean temporary directory
|
||||
|
|
Loading…
Add table
Reference in a new issue