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
|
||||
import platform
|
||||
from urllib2 import urlopen
|
||||
from pprint import pprint
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ def getLocation():
|
||||
city = data['city']
|
||||
country=data['country']
|
||||
region=data['region']
|
||||
|
||||
return data
|
||||
|
||||
|
||||
@@ -42,7 +43,7 @@ with open('wstations.json') as data_file:
|
||||
|
||||
for wstation, value in data.iteritems():
|
||||
if wstation == s2s:
|
||||
pprint(value)
|
||||
|
||||
wstation_int = value
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user