X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Fscripts.git;a=blobdiff_plain;f=home%2Fportalmonitor.py;fp=home%2Fportalmonitor.py;h=1316b2f6807d50233c13f511c81767d56e040091;hp=2264206090735e746dd2c0aabfb8fad028df3f2a;hb=f5b70d2a4161683e3c687f1a70b571241af88308;hpb=79a5dcdef2ef3929f764413938f9067a74535415 diff --git a/home/portalmonitor.py b/home/portalmonitor.py index 2264206..1316b2f 100755 --- a/home/portalmonitor.py +++ b/home/portalmonitor.py @@ -75,7 +75,7 @@ if isDaylight(conf['config'].getfloat('lat'), conf['config'].getfloat('lon'), conf['config']['stationId']) if options.printStatus: - print('Current Power: ' + str(currentPower)) + print(f"Current Power: {currentPower}") if currentPower == 0: print('Error: Power dropped to 0 but we should have daylight!')