diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py index 6618b55b22..5d07ae05e3 100644 --- a/cura/CrashHandler.py +++ b/cura/CrashHandler.py @@ -196,7 +196,7 @@ class CrashHandler: self.data["os"] = {"type": platform.system(), "version": platform.version()} self.data["qt_version"] = QT_VERSION_STR self.data["pyqt_version"] = PYQT_VERSION_STR - self.data["locale_os"] = locale.getlocale(locale.LC_MESSAGES)[0] if hasattr(locale, 'LC_MESSAGES') else locale.getdefaultlocale()[0] + self.data["locale_os"] = locale.getlocale(locale.LC_MESSAGES)[0] if hasattr(locale, "LC_MESSAGES") else locale.getdefaultlocale()[0] self.data["locale_cura"] = self.cura_locale with configure_scope() as scope: diff --git a/plugins/SentryLogger/SentryLogger.py b/plugins/SentryLogger/SentryLogger.py index c25c7dc0a4..3cc94f83ef 100644 --- a/plugins/SentryLogger/SentryLogger.py +++ b/plugins/SentryLogger/SentryLogger.py @@ -25,9 +25,9 @@ class SentryLogger(LogOutput): level = self._translateLogType(log_type[0]) if level is not None: self._show_once.add(message) - add_breadcrumb(level=level, message=message) + add_breadcrumb(level = level, message = message) else: - add_breadcrumb(level=level, message=message) + add_breadcrumb(level = level, message = message) @staticmethod def _pruneSensitiveData(message):