From bd39f6ccf4baa680cf562e2c01065c16fbddd6d5 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 16 Apr 2025 21:44:47 +0200 Subject: [PATCH] Re #3115 fix multiprocessing start --- changedetection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/changedetection.py b/changedetection.py index ead2b8c5..a5400211 100755 --- a/changedetection.py +++ b/changedetection.py @@ -3,4 +3,6 @@ # Only exists for direct CLI usage import changedetectionio -changedetectionio.main() + +if __name__ == '__main__': + changedetectionio.main()