Commit 1b5529a0 by Gregory Nagy

client.py: debug print bug fixed.

parent d5164037
...@@ -168,7 +168,8 @@ class Client: ...@@ -168,7 +168,8 @@ class Client:
if len(vmMetrics) is not 0: if len(vmMetrics) is not 0:
metrics.append(vmMetrics) metrics.append(vmMetrics)
if self.debugMode == "True" and len(metrics) is not 0: if self.debugMode == "True" and len(metrics) is not 0:
print("[*" + self.beat + "] " + metrics) print(metrics)
if self.__send(metrics) is False: if self.__send(metrics) is False:
raise RuntimeError raise RuntimeError
time.sleep(1) time.sleep(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment