1
0
mirror of https://github.com/arsenetar/dupeguru-cocoa.git synced 2026-04-05 11:11:38 +00:00

Minor Changes

- Improve startup debugging of python errors
- Fix issue with multiprocessing in newer python versions
This commit is contained in:
2021-08-14 18:19:14 -05:00
parent c2ec4c3fe3
commit 8abf4de916
2 changed files with 10 additions and 3 deletions

View File

@@ -6,6 +6,10 @@
import codecs, io, locale
# Force multiprocessing to use fork instead of spawn (as spawn currently causes issues)
import multiprocessing
multiprocessing.set_start_method('fork')
from hscommon.trans import install_gettext_trans_under_cocoa
install_gettext_trans_under_cocoa()
@@ -16,4 +20,4 @@ from inter.app import PyDupeGuru
# When built under virtualenv, the dependency collector misses this module, so we have to force it
# to see the module.
import distutils.sysconfig
import distutils.sysconfig