mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-05 20:12:57 +00:00
restore dictparser
This commit is contained in:
@@ -27,9 +27,9 @@ class DictParser:
|
||||
except AttributeError:
|
||||
pass
|
||||
newv = cls._adjust_yaml_keys(tmp)
|
||||
if key:
|
||||
newv[key] = key
|
||||
return cls(**newv)
|
||||
if not key:
|
||||
return cls(**newv)
|
||||
return cls(key=key, **newv)
|
||||
|
||||
@classmethod
|
||||
def parse_dict(cls, items):
|
||||
|
||||
Reference in New Issue
Block a user