chore: clear linting errors

This commit is contained in:
aclist committed 2025-12-18 14:29:00 +09:00
1 parent 3cdc36c78b
commit 77c42f5b78
19 files changed
+17 -28

No files matched your search

+2 -2
View File
@@ -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()