mirror of
https://github.com/ValdikSS/blockcheck.git
synced 2026-09-14 11:05:48 +05:00
Fix for printed text saving
This commit is contained in:
parent
f30b1f1aba
commit
68c50ea459
@ -125,8 +125,8 @@ def print(*args, **kwargs):
|
||||
global printed_text
|
||||
if tkusable:
|
||||
for arg in args:
|
||||
text.write(str(arg))
|
||||
printed_text += str(arg)
|
||||
text.write(str(arg) + " ")
|
||||
printed_text += str(arg) + " "
|
||||
for key, value in kwargs.items():
|
||||
if key == 'end':
|
||||
text.write(value)
|
||||
@ -141,7 +141,7 @@ def print(*args, **kwargs):
|
||||
]
|
||||
__builtins__.print(*args, **kwargs)
|
||||
for arg in args:
|
||||
printed_text += str(arg)
|
||||
printed_text += str(arg) + " "
|
||||
for key, value in kwargs.items():
|
||||
if key == 'end':
|
||||
printed_text += value
|
||||
|
||||
Loading…
Reference in New Issue
Block a user