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