mirror of
https://github.com/a2-4am/wozardry.git
synced 2025-01-05 15:30:07 +00:00
don't import INFO chunk from JSON
This commit is contained in:
parent
6225d2f9a1
commit
b4650a5902
@ -12,7 +12,7 @@ import itertools
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
__version__ = "dev"
|
__version__ = "dev"
|
||||||
__date__ = "2018-09-06"
|
__date__ = "2018-09-07"
|
||||||
__progname__ = "wozardry"
|
__progname__ = "wozardry"
|
||||||
__displayname__ = __progname__ + " " + __version__ + " by 4am (" + __date__ + ")"
|
__displayname__ = __progname__ + " " + __version__ + " by 4am (" + __date__ + ")"
|
||||||
|
|
||||||
@ -349,7 +349,6 @@ class WozWriter(WozValidator):
|
|||||||
def from_json(self, json_string):
|
def from_json(self, json_string):
|
||||||
j = json.loads(json_string)
|
j = json.loads(json_string)
|
||||||
root = [x for x in j.keys()].pop()
|
root = [x for x in j.keys()].pop()
|
||||||
self.info.update(j[root]["info"])
|
|
||||||
self.meta.update(j[root]["meta"])
|
self.meta.update(j[root]["meta"])
|
||||||
|
|
||||||
def build_info(self):
|
def build_info(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user