We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc80089 commit 9ee8546Copy full SHA for 9ee8546
1 file changed
pISS.py
@@ -1,11 +1,12 @@
1
-#!/usr/bin/python
+#!/usr/bin/env python3
2
3
import time
4
import sys
5
from lightstreamer.client import *
6
from datetime import datetime
7
8
-print("""
+print("""
9
+
10
____________ _______ ____
11
___ / _/ __/ __/___/ ___/ / / _/
12
/ _ \_/ /_\ \_\ \/___/ /__/ /___/ /
@@ -42,7 +43,7 @@ def onItemUpdate(self, update):
42
43
44
# print
45
sys.stdout.write(f"\rUrinelevels: {currentValue}% | Last updated: {currentTime} {changeText} | {bar}")
- sys.stdout.flush()
46
+ sys.stdout.flush() # Ausgabe sofort anzeigen
47
48
previousValue = currentValue
49
0 commit comments