Try to read the yaml as binary

merge-requests/54/head
David Corne 2020-07-07 13:27:07 +01:00
parent 5bce34d195
commit 7d4f8ad7a6
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def main():
print("{}".format(e)) print("{}".format(e))
# Load in the yaml data # Load in the yaml data
with open('basics.yaml') as yl: with open('basics.yaml', 'rb') as yl:
data = yaml.full_load(yl) data = yaml.full_load(yl)
# call the functions to input to SQL # call the functions to input to SQL
do_abilityscore(data['abilityscore'], conn) do_abilityscore(data['abilityscore'], conn)