update to latest wozardry

This commit is contained in:
4am 2018-07-23 13:46:49 -05:00
parent 6b54b035cf
commit dc8d8c5e6e

View File

@ -10,8 +10,8 @@ import collections
import itertools
import os
__version__ = "0.2"
__date__ = "2018-06-05"
__version__ = "0.3"
__date__ = "2018-07-23"
__progname__ = "wozardry"
__displayname__ = __progname__ + " " + __version__ + " by 4am (" + __date__ + ")"
@ -394,6 +394,8 @@ class WozWriter(WozValidator):
for key, value_raw in self.meta.items():
if type(value_raw) == str:
values = [value_raw]
else:
values = value_raw
list(map(self.validate_metadata_value, values))
if key == "language":
list(map(self.validate_metadata_language, values))