Skip to content

Commit 3847034

Browse files
authored
fix redundant if statement
1 parent 6614332 commit 3847034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _configure_sys_path_for_direct_execution():
2222

2323
from fabric import Application
2424

25-
if __name__ == "__main__" and (__package__ is None or __package__ == ''):
25+
if __name__ == "__main__" and not __package__:
2626
from config.data import APP_NAME, APP_NAME_CAP
2727
from config.settings_gui import HyprConfGUI
2828
from config.settings_utils import load_bind_vars

0 commit comments

Comments
 (0)