We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d13bd9 + 8e14f1d commit 8eda8c5Copy full SHA for 8eda8c5
sqlacodegen/codegen.py
@@ -653,7 +653,8 @@ def render(self, outfile=sys.stdout):
653
654
# Render the model tables and classes
655
for model in self.models:
656
- print('\n\n' + model.render().rstrip('\n'), file=outfile)
+ print('\n\n', file=outfile)
657
+ print(model.render().rstrip('\n').encode('utf-8'), file=outfile)
658
659
if self.footer:
660
print(self.footer, file=outfile)
0 commit comments