mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
chore: clear linting errors
This commit is contained in:
1 parent
3cdc36c78b
commit
77c42f5b78
19 files changed
+17
-28
No files matched your search
@@ -28,8 +28,8 @@ def write_shim_file(share_path: Path) -> None:
|
||||
"""
|
||||
try:
|
||||
file.write_text(textwrap.dedent(template))
|
||||
f.chmod(f.stat().st_mode | stat.S_IEXEC)
|
||||
except OSError:
|
||||
file.chmod(file.stat().st_mode | stat.S_IEXEC)
|
||||
except OSError as e:
|
||||
logger.critical(e)
|
||||
return
|
||||
clear_old_path()
|
||||
|
||||
Reference in new issue
Block a user