Fix reading inp bug
This commit is contained in:
@@ -32,9 +32,10 @@ class InpBackdrop:
|
||||
|
||||
|
||||
def inp_in_backdrop(section: list[str]) -> ChangeSet:
|
||||
obj = InpBackdrop(section)
|
||||
cs = ChangeSet(g_update_prefix | {'type': 'backdrop', 'content' : obj.value})
|
||||
return cs
|
||||
if len(section) > 0:
|
||||
obj = InpBackdrop(section)
|
||||
return ChangeSet(g_update_prefix | {'type': 'backdrop', 'content' : obj.value})
|
||||
return ChangeSet()
|
||||
|
||||
|
||||
def inp_out_backdrop(name: str) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user