1
0
Fork 0
mirror of https://gitlab.com/vylion/velascobot.git synced 2025-06-20 11:24:38 +02:00
This commit is contained in:
vylion 2020-10-27 19:31:36 +01:00
parent 457868259c
commit c91ceda24b

View file

@ -98,7 +98,7 @@ class Generator(object):
# otherwise
return Generator(load=dump, mode=Generator.MODE_JSON)
def load(self, f):
def load(f):
return Generator(load=json.load(f), mode=Generator.MODE_DICT)
def add(self, text):