mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 09:38:23 +02:00
refactor monolithic shared.py and separate legacy options with logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -2,6 +2,12 @@ from dataclasses import dataclass
|
||||
from installer import log
|
||||
|
||||
|
||||
def options_section(section_identifier, options_dict):
|
||||
for v in options_dict.values():
|
||||
v.section = section_identifier
|
||||
return options_dict
|
||||
|
||||
|
||||
class OptionInfo:
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user