mirror of
https://github.com/ValdikSS/blockcheck.git
synced 2026-09-14 11:05:48 +05:00
Handle 'end' parameter for print() in tkinter GUI
This commit is contained in:
parent
9bfa19b00f
commit
4f7de1aef2
@ -97,6 +97,10 @@ def print(*args, **kwargs):
|
||||
if tkusable:
|
||||
for arg in args:
|
||||
text.write(str(arg))
|
||||
for key, value in kwargs.items():
|
||||
if key == 'end':
|
||||
text.write(value)
|
||||
return
|
||||
text.write("\n")
|
||||
else:
|
||||
if args and sys.stdout.encoding != 'UTF-8':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user