Skip to content

Commit

Permalink
umu_util: fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 15, 2025
1 parent db8c421 commit 09be7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umu/umu_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ def get_library_paths() -> set[str]:
if not proc.stdout:
return library_paths
for line in proc.stdout:
line = line.split()
lines = line.split()
if not line:
continue
line = line[-1]
line = lines[-1]
prefix = line[: line.rfind(root)]
if not line.startswith(root) or prefix in paths:
continue
Expand Down

0 comments on commit 09be7c9

Please sign in to comment.