Skip to content

Commit

Permalink
Python3 compatibility
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
emkael committed Jul 8, 2019
1 parent 959305e commit 3a13631
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dealconvert/formats/stdout.py
@@ -1,3 +1,5 @@
from __future__ import print_function

from . import DealFormat

class STDOUTFormat(DealFormat):
Expand Down Expand Up @@ -30,4 +32,4 @@ def output(self, output_file, deal):
lines.append(' ' * width + suit)
lines.append('')
lines[1] = header + lines[1][len(header):]
print '\n'.join(lines)
print('\n'.join(lines))

0 comments on commit 3a13631

Please sign in to comment.