mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
lint fix and refresh modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Submodule extensions-builtin/sdnext-modernui updated: 1c71c1ca45...7fc52bb976
+3
-3
@@ -91,9 +91,9 @@ class OptionsCategories:
|
||||
self.mapping = {}
|
||||
|
||||
def register_category(self, category_id, label):
|
||||
if category_id in self.mapping:
|
||||
return category_id
|
||||
self.mapping[category_id] = OptionsCategory(category_id, label)
|
||||
if category_id not in self.mapping:
|
||||
self.mapping[category_id] = OptionsCategory(category_id, label)
|
||||
return category_id
|
||||
|
||||
|
||||
categories = OptionsCategories()
|
||||
|
||||
Reference in New Issue
Block a user