mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-19 13:18:13 +02:00
Merge pull request #210 from curly60e/curly60e-patch-132
Upgraded Clock of Blocks [Remote]
This commit is contained in:
commit
0ebb4480b6
1 changed files with 4 additions and 6 deletions
|
|
@ -90,15 +90,13 @@ def remotegetblock():
|
|||
b = rpc('getblockcount')
|
||||
c = str(b)
|
||||
if c > a:
|
||||
print("\033[1;32;40m")
|
||||
tprint(c, font="rnd-large")
|
||||
print("\a\033[0;37;40m")
|
||||
output = render(str(c), colors=['red', 'yellow'], align='center')
|
||||
print("\a" + output)
|
||||
t.sleep(10)
|
||||
break
|
||||
elif c == a:
|
||||
print("\033[1;32;40m")
|
||||
tprint(c, font="rnd-large")
|
||||
print("\033[0;37;40m")
|
||||
output = render(str(c), colors=['red', 'yellow'], align='center')
|
||||
print(output)
|
||||
t.sleep(10)
|
||||
clear()
|
||||
closed()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue