mirror of
https://gitlab.com/vylion/velascobot.git
synced 2025-04-19 21:46:35 +02:00
woops
This commit is contained in:
parent
457868259c
commit
c91ceda24b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Generator(object):
|
||||||
# otherwise
|
# otherwise
|
||||||
return Generator(load=dump, mode=Generator.MODE_JSON)
|
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)
|
return Generator(load=json.load(f), mode=Generator.MODE_DICT)
|
||||||
|
|
||||||
def add(self, text):
|
def add(self, text):
|
||||||
|
|
Loading…
Reference in a new issue