Try to read the yaml as binary
parent
5bce34d195
commit
7d4f8ad7a6
|
@ -49,7 +49,7 @@ def main():
|
|||
print("{}".format(e))
|
||||
|
||||
# Load in the yaml data
|
||||
with open('basics.yaml') as yl:
|
||||
with open('basics.yaml', 'rb') as yl:
|
||||
data = yaml.full_load(yl)
|
||||
# call the functions to input to SQL
|
||||
do_abilityscore(data['abilityscore'], conn)
|
||||
|
|
Loading…
Reference in New Issue