File: 02_fix_runtime_error_context_already_been_set.patch

package info (click to toggle)
mcomix 3.1.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,332 kB
  • sloc: python: 13,796; xml: 56; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/mcomix/__main__.py
+++ b/mcomix/__main__.py
@@ -21,10 +21,10 @@
 
 
 def main() -> None:
-    mp.freeze_support()
-    mp.set_start_method('spawn')
     run()
 
 
 if __name__ == '__main__':
+    mp.freeze_support()
+    mp.set_start_method('spawn')
     main()