add some documentation for the use of the telegram as an object
This commit is contained in:
@@ -46,7 +46,7 @@ class Telegram(object):
|
||||
|
||||
def __str__(self):
|
||||
output = ""
|
||||
for attr,value in self:
|
||||
for attr, value in self:
|
||||
output += "{}: \t {} \t[{}]\n".format(attr,str(value.value),str(value.unit))
|
||||
return output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user