Merge branch 'staging/maintenance' into maintenance
This commit is contained in:
commit
e4d3803b2f
5 files changed
+13
-8
No files matched your search
@@ -18,10 +18,10 @@ from octoprint.util.version import (
|
||||
)
|
||||
|
||||
SENTRY_URL_SERVER = (
|
||||
"https://4045f26d0af548729d66d42330513f84@o118517.ingest.sentry.io/1373987"
|
||||
"https://9456b5f2ea6848a1aefd9f721b255e24@o118517.ingest.sentry.io/1373987"
|
||||
)
|
||||
SENTRY_URL_COREUI = (
|
||||
"https://547ae711243d408e86fdee27cca233f8@o118517.ingest.sentry.io/1374096"
|
||||
"https://ba606129a1da4ffe87907db5283e47a3@o118517.ingest.sentry.io/1374096"
|
||||
)
|
||||
|
||||
SETTINGS_DEFAULTS = {
|
||||
|
||||
@@ -16,6 +16,9 @@ class EventManagerPlugin(
|
||||
"subscriptions": [],
|
||||
}
|
||||
events = self._settings.global_get(["events"])
|
||||
for event in events.get("subscriptions", []):
|
||||
if "name" not in event:
|
||||
event["name"] = event["command"]
|
||||
if events:
|
||||
my_settings["subscriptions"] = sorted(
|
||||
events.get("subscriptions", []), key=(lambda x: x["event"])
|
||||
|
||||
Reference in new issue
Block a user