Skip to content

Commit 8eb07cc

Browse files
committed
linting
1 parent d1faa6d commit 8eb07cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyprland/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
]
3232

3333

34-
DEBUG = os.environ.get("DEBUG", False)
34+
DEBUG = bool(os.environ.get("DEBUG"))
3535

3636
HYPRLAND_INSTANCE_SIGNATURE = os.environ.get("HYPRLAND_INSTANCE_SIGNATURE", "NO_INSTANCE")
3737

@@ -43,8 +43,8 @@
4343
try:
4444
# May throw an OSError because AF_UNIX path is too long: try to work around it only if needed
4545
original_ipc_folder = (
46-
f'{os.environ["XDG_RUNTIME_DIR"]}/hypr/{HYPRLAND_INSTANCE_SIGNATURE}'
47-
if os.path.exists(f'{os.environ["XDG_RUNTIME_DIR"]}/hypr/{HYPRLAND_INSTANCE_SIGNATURE}')
46+
f"{os.environ['XDG_RUNTIME_DIR']}/hypr/{HYPRLAND_INSTANCE_SIGNATURE}"
47+
if os.path.exists(f"{os.environ['XDG_RUNTIME_DIR']}/hypr/{HYPRLAND_INSTANCE_SIGNATURE}")
4848
else f"/tmp/hypr/{HYPRLAND_INSTANCE_SIGNATURE}" # noqa: S108
4949
)
5050

pyprland/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package version."""
22

3-
VERSION = "2.4.5-20"
3+
VERSION = "2.4.5-21"

0 commit comments

Comments
 (0)