Update tests
This commit is contained in:
parent
492cc0e63b
commit
4e80317717
2 changed files with 9 additions and 9 deletions
|
|
@ -48,7 +48,7 @@ class StartPage(HTMLPage):
|
|||
unit = u'°C'
|
||||
else:
|
||||
value = text.split(':')[-1].split()[0]
|
||||
unit = text.split(':')[-1].split()[1]
|
||||
unit = text.split(':')[-1].split(None, 1)[1]
|
||||
return value, unit
|
||||
|
||||
def parse(self, el):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue