diff options
Diffstat (limited to 'dealconvert/formats')
-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)) |