feat: apply logic

feat: state draft
This commit is contained in:
Swann Martinez
2019-07-18 16:38:13 +02:00
parent aa73064eed
commit 51093b1307
4 changed files with 208 additions and 102 deletions

View File

@ -52,7 +52,6 @@ def zpipe(ctx):
class Client(object):
ctx = None
pipe = None
net_agent = None
@ -205,7 +204,7 @@ class Client(object):
# SAVING FUNCTIONS
def dump(self, filepath):
with open('dump.json',"w") as fp:
with open('dump.json', "w") as fp:
for key, value in self.store.items():
line = json.dumps(value.body)
fp.write(line)