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.
1 parent 0d13bd9 commit 8e14f1dCopy full SHA for 8e14f1d
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