diff --git a/Changelog.draft.rst b/Changelog.draft.rst index d9977a2..e754f50 100644 --- a/Changelog.draft.rst +++ b/Changelog.draft.rst @@ -21,6 +21,7 @@ Bug Fixes * Fix regression (UIBase is no more). +* Make profiling mode really enforce single-threading Pending for the next major release ================================== diff --git a/offlineimap/init.py b/offlineimap/init.py index 232de25..8aebb23 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -169,7 +169,7 @@ class OfflineImap: if options.profiledir: if not options.singlethreading: logging.warn("Profile mode: Forcing to singlethreaded.") - options.singlethreaded = True + options.singlethreading = True profiledir = options.profiledir os.mkdir(profiledir) threadutil.setprofiledir(profiledir)