Chttpd generalisation, external data expunge
This commit is contained in:
@@ -176,9 +176,14 @@ class WeatherInfo(object):
|
||||
try:
|
||||
time_stamp = time.strptime(result_windspeed['time'].split('.')[0],
|
||||
"%Y-%m-%dT%H:%M:%S")
|
||||
except:
|
||||
time_stamp = time.strptime(result_t_ext['time'].split('.')[0],
|
||||
try:
|
||||
time_stamp = time.strptime(result_t_ext['time'].split('.')[0],
|
||||
"%Y-%m-%dT%H:%M:%S")
|
||||
except:
|
||||
time_stamp = 1024
|
||||
except:
|
||||
time_stamp = 2048
|
||||
|
||||
|
||||
result = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user