diff options
| author | Maurizio Lombardi <m.lombardi85@gmail.com> | 2019-01-17 18:10:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-17 18:10:50 +0100 |
| commit | b1dccb7b535a1de82a615a0399d52a39fb3f5faf (patch) | |
| tree | 0649394319498740cbd66af4e6adb1bee936062e /targetcli | |
| parent | aeae66ca72d9cf02e46f04732ab7823727a9cee2 (diff) | |
| parent | f6e813454c18e02222473713f53db5be99b84142 (diff) | |
| download | targetcli-b1dccb7b535a1de82a615a0399d52a39fb3f5faf.tar.gz | |
Merge pull request #126 from zealoussnow/wip-190109
targetcli-fb: Fix raise exception error in _save_backups
Diffstat (limited to 'targetcli')
| -rw-r--r-- | targetcli/ui_root.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/targetcli/ui_root.py b/targetcli/ui_root.py index 6f3a79b..af5554f 100644 --- a/targetcli/ui_root.py +++ b/targetcli/ui_root.py @@ -114,7 +114,7 @@ class UIRoot(UINode): os.makedirs(backup_dir); except OSError as exe: raise ExecutionError("Cannot create backup directory [%s] %s." - % (backup_dir, exc.strerror)) + % (backup_dir, exe.strerror)) # Only save backups if savefile exits if not os.path.exists(savefile): |
