mirror of
https://github.com/aclist/dztui.git
synced 2026-11-17 15:21:55 +01:00
change: suppress missing shortcuts message
This commit is contained in:
1 parent
100cb43afc
commit
5fb10d9758
1 file changed
+1
@@ -173,6 +173,7 @@ class Shortcuts:
|
||||
self.save_shortcuts()
|
||||
|
||||
def save_shortcuts(self) -> None:
|
||||
if self.shortcuts_path.is_file():
|
||||
try:
|
||||
backup = self.shortcuts_path.with_suffix(".vdf.bak")
|
||||
shutil.copy(self.shortcuts_path, backup)
|
||||
|
||||
Reference in new issue
Block a user