Show More
@@ -13,8 +13,8 b' def inputhook(context):' | |||||
13 | if not app: |
|
13 | if not app: | |
14 | if sys.platform == 'linux': |
|
14 | if sys.platform == 'linux': | |
15 | try: |
|
15 | try: | |
16 |
|
|
16 | # DISPLAY or WAYLAND_DISPLAY is set and not empty | |
17 |
assert os.environ |
|
17 | assert os.environ.get('DISPLAY') or os.environ.get('WAYLAND_DISPLAY') | |
18 | except Exception: |
|
18 | except Exception: | |
19 | import warnings |
|
19 | import warnings | |
20 | global _already_warned |
|
20 | global _already_warned |
General Comments 0
You need to be logged in to leave comments.
Login now