Skip to content

Commit

Permalink
kitty_exe: use ordered list
Browse files Browse the repository at this point in the history
Fixes #1406.
  • Loading branch information
blueyed committed Feb 23, 2019
1 parent e44b331 commit 34c35ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitty/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def kitty_exe():
if ans is None:
rpath = getattr(sys, 'bundle_exe_dir', None)
if not rpath:
items = frozenset(os.environ['PATH'].split(os.pathsep))
items = os.environ['PATH'].split(os.pathsep)
for candidate in items:
if os.access(os.path.join(candidate, 'kitty'), os.X_OK):
rpath = candidate
Expand Down

0 comments on commit 34c35ff

Please sign in to comment.