Skip to content

Commit 9ee8546

Browse files
Update pISS.py
1 parent bc80089 commit 9ee8546

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pISS.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python3
22

33
import time
44
import sys
55
from lightstreamer.client import *
66
from datetime import datetime
77

8-
print("""
8+
print("""
9+
910
____________ _______ ____
1011
___ / _/ __/ __/___/ ___/ / / _/
1112
/ _ \_/ /_\ \_\ \/___/ /__/ /___/ /
@@ -42,7 +43,7 @@ def onItemUpdate(self, update):
4243

4344
# print
4445
sys.stdout.write(f"\rUrinelevels: {currentValue}% | Last updated: {currentTime} {changeText} | {bar}")
45-
sys.stdout.flush()
46+
sys.stdout.flush() # Ausgabe sofort anzeigen
4647

4748
previousValue = currentValue
4849

0 commit comments

Comments
 (0)