1 parent 3262751 commit db19d94Copy full SHA for db19d94
1 file changed
src/__main__.py
@@ -85,6 +85,8 @@ def check_desktop_environment() -> bool:
85
86
if __name__ == "__main__":
87
if "--blocking-subprocess" in sys.argv:
88
+ # Strip the wrapper flag before handing off to blocking_process's own argparse
89
+ sys.argv = [a for a in sys.argv if a != "--blocking-subprocess"]
90
from website_blocker.blocking_process import main
91
92
main()
0 commit comments