use specific formatter for 'current' command
This commit is contained in:
parent
6a857021c7
commit
31921549a7
3 changed files with 25 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ class WeatherPage(BasePage):
|
|||
for img in div.getiterator("img"):
|
||||
mtxt = img.attrib["title"]
|
||||
break
|
||||
mdate = str(datetime.datetime.now())
|
||||
mdate = datetime.datetime.now()
|
||||
yield Current(mdate, temp, mtxt, "C")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue