Skip to content
Snippets Groups Projects
Commit 5451d090 authored by Roberto-R's avatar Roberto-R
Browse files

Added except to prevent MAC issues

parent 291e42f6
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,8 @@ try:
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(app_id)
except ImportError:
ctypes = None # Very unimportant fix, continue if ctypes was not found
except AttributeError:
ctypes = None # On MAC the package might exist but not the feature
class MainWindow(QMainWindow):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment