Skip to content

Commit

Permalink
logic error: must use a list here
Browse files Browse the repository at this point in the history
this must have been failing?
  • Loading branch information
totaam committed Nov 28, 2023
1 parent 41f435a commit fc4b6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/platform/posix/menu_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def find_pixmap_icon(*names) -> str:
pixmaps_dirs = [d + '/icons' for d in os.environ.get("XDG_DATA_DIRS", "").split(":") if d]
pixmaps_dir = f"{sys.prefix}/share/pixmaps"
icons_dir = f"{sys.prefix}/share/icons"
pixmaps_dirs += (pixmaps_dir, os.path.join(pixmaps_dir, "comps"), icons_dir)
pixmaps_dirs += [pixmaps_dir, os.path.join(pixmaps_dir, "comps"), icons_dir]
for d in pixmaps_dirs:
if not os.path.exists(d) or not os.path.isdir(d):
continue
Expand Down

0 comments on commit fc4b6d1

Please sign in to comment.