chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-10-23 11:46:05 +09:00
1 parent 519e6c354d
commit edb87893f9
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ def get_xdg_paths() -> dict:
resolved_paths = {}
for path in xdg_paths:
real_path = os.environ.get(path)
if is_sandboxed():
if real_path is not None and is_sandboxed():
search_string = FLATPAK_ROOT_PATH + "/"
real_path = real_path.replace(search_string, "")
if real_path is not None and is_writeable(real_path):