mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
RUF013 updates
This commit is contained in:
@@ -28,7 +28,7 @@ class Options:
|
||||
debug = os.environ.get('SD_CONFIG_DEBUG', None) is not None
|
||||
secrets_debug = os.environ.get("SD_SECRETS_DEBUG", None) is not None
|
||||
|
||||
def __init__(self, options_templates: dict[str, OptionInfo | LegacyOption] = None, restricted: set[str] | None = None, *, filename = '', secrets = ''):
|
||||
def __init__(self, options_templates: dict[str, OptionInfo | LegacyOption] | None = None, restricted: set[str] | None = None, *, filename = '', secrets = ''):
|
||||
if options_templates is None:
|
||||
options_templates = {}
|
||||
if restricted is None:
|
||||
|
||||
Reference in New Issue
Block a user