mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Correct logger object in backup_list (fix #75)
This commit is contained in:
parent
5767ffacbf
commit
475b3bb110
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ def backup_list():
|
||||||
# Retrieve local archives
|
# Retrieve local archives
|
||||||
archives = os.listdir(archives_path)
|
archives = os.listdir(archives_path)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
logging.info("unable to iterate over local archives: %s", str(e))
|
logger.info("unable to iterate over local archives: %s", str(e))
|
||||||
else:
|
else:
|
||||||
# Iterate over local archives
|
# Iterate over local archives
|
||||||
for f in archives:
|
for f in archives:
|
||||||
|
|
Loading…
Add table
Reference in a new issue