mirror of
https://github.com/a2-4am/wozardry.git
synced 2024-12-11 10:49:18 +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
|
||||
|
||||
__version__ = "dev"
|
||||
__date__ = "2018-09-06"
|
||||
__date__ = "2018-09-07"
|
||||
__progname__ = "wozardry"
|
||||
__displayname__ = __progname__ + " " + __version__ + " by 4am (" + __date__ + ")"
|
||||
|
||||
@ -349,7 +349,6 @@ class WozWriter(WozValidator):
|
||||
def from_json(self, json_string):
|
||||
j = json.loads(json_string)
|
||||
root = [x for x in j.keys()].pop()
|
||||
self.info.update(j[root]["info"])
|
||||
self.meta.update(j[root]["meta"])
|
||||
|
||||
def build_info(self):
|
||||
|
Loading…
Reference in New Issue
Block a user