mirror of
https://github.com/aclist/dztui.git
synced 2026-11-21 17:09:30 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
519e6c354d
commit
edb87893f9
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user