Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Add IsADirectory to exception list
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Aug 24, 2020
1 parent ecc0b82 commit 5cbb08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guiscrcpy/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
# Change directory so that the pixmaps are available to PyQt windows
try:
os.chdir(os.path.dirname(__file__))
except FileNotFoundError:
except (FileNotFoundError, NotADirectoryError):
pass # Its a PyInstaller compiled package

# ============================================================================
Expand Down

0 comments on commit 5cbb08b

Please sign in to comment.