removed pprint
This commit is contained in:
5
w.py
5
w.py
@@ -9,7 +9,7 @@ from datetime import date, datetime, time, timedelta
|
|||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
import platform
|
import platform
|
||||||
from urllib2 import urlopen
|
from urllib2 import urlopen
|
||||||
from pprint import pprint
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -23,6 +23,7 @@ def getLocation():
|
|||||||
city = data['city']
|
city = data['city']
|
||||||
country=data['country']
|
country=data['country']
|
||||||
region=data['region']
|
region=data['region']
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
@@ -42,7 +43,7 @@ with open('wstations.json') as data_file:
|
|||||||
|
|
||||||
for wstation, value in data.iteritems():
|
for wstation, value in data.iteritems():
|
||||||
if wstation == s2s:
|
if wstation == s2s:
|
||||||
pprint(value)
|
|
||||||
wstation_int = value
|
wstation_int = value
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user