Filename | |
---|---|
phcstats.py |
diff --git a/phcstats.py b/phcstats.py index 1d87ecc..9a580ca 100755 --- a/phcstats.py +++ b/phcstats.py @@ -96,9 +96,9 @@ def PrintStats(client): uptime = 100.0 * ss if IsAlive(client): - is_online = "no" - else: is_online = "yes" + else: + is_online = "no" print "Client: %s" % client print "IsOnline: %s" % is_online print "Uptime: %3.2f %% " % uptime