Windows pain

This commit is contained in:
2023-04-04 00:15:53 +02:00
committed by Lorenz Stechauner
parent 6f1cc0e922
commit 1defd4259f
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ if __name__ == '__main__':
if not args.keep:
for file_name in get_sql_files():
with open(file_name) as sql_file:
with open(file_name, encoding='utf-8') as sql_file:
print(f'Executing {file_name}')
DB_CNX.executescript(sql_file.read())