diff --git a/cyberdrop_dl/main.py b/cyberdrop_dl/main.py index e569a4e2..1e52811e 100644 --- a/cyberdrop_dl/main.py +++ b/cyberdrop_dl/main.py @@ -254,8 +254,8 @@ async def director(manager: Manager) -> None: def main(): - profiling: bool = False or os.getenv("CDL_PROFILING") - if not profiling: + profiling: bool = False + if not (profiling or os.getenv("CDL_PROFILING")): return actual_main() profile(actual_main)