1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-20 09:39:01 +00:00

Replaced print with sys.stdout.write

This commit is contained in:
Divya Jain 2020-05-12 02:35:34 +05:30
parent 6975d30818
commit 9233086d2e

View File

@ -255,4 +255,4 @@ class CorrectedCommand(object):
logs.debug(u'PYTHONIOENCODING: {}'.format(
os.environ.get('PYTHONIOENCODING', '!!not-set!!')))
print(self._get_script())
sys.stdout.write(self._get_script())