diff options
author | emkael <emkael@tlen.pl> | 2019-07-08 22:45:22 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-07-08 22:45:22 +0200 |
commit | 3a136318f40f607e21069afc4141a5cbcba9ccb8 (patch) | |
tree | bd0127d72445eaa7610df9d6bbd50cf4c06d7024 /dealconvert | |
parent | 959305e4b73459cda5cde1de77f14a38457adeaa (diff) |
Python3 compatibility
Fixes #1
Diffstat (limited to 'dealconvert')
-rw-r--r-- | dealconvert/formats/stdout.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dealconvert/formats/stdout.py b/dealconvert/formats/stdout.py index eb1aedd..b9df341 100644 --- a/dealconvert/formats/stdout.py +++ b/dealconvert/formats/stdout.py @@ -1,3 +1,5 @@ +from __future__ import print_function + from . import DealFormat class STDOUTFormat(DealFormat): @@ -30,4 +32,4 @@ class STDOUTFormat(DealFormat): lines.append(' ' * width + suit) lines.append('') lines[1] = header + lines[1][len(header):] - print '\n'.join(lines) + print('\n'.join(lines)) |