Commits

Miki Tebeka committed 6c3518b

Minor cleanup

Comments (0)

Files changed (2)

 
 setup(
     name='timeat',
-    version='1.0.0',
+    version='1.0.1',
     description='Show local time at given location',
     author='Miki Tebeka',
     author_email='miki.tebeka@gmail.com',
 # Using Google maps API to get the current time at a given location
 
 from socket import AF_INET, SOCK_DGRAM, socket, error as SocketError
-from time import time, gmtime, strftime
+from time import time
 from datetime import datetime
 import json
 import struct
 import sys
 
-__version__ = '1.0.0'
+__version__ = '1.0.1'
 
 if sys.version_info[:2] >= (3, 0):
     from urllib.request import urlopen
 
 
 def timeat(location):
-    '''Get local time at location, returns an interable of (place, time)'''
+    '''Get local time at location, returns an iterable of (place, time)'''
     query = urlencode([('address', location)])
     url = '{}?{}'.format(geo_url, query)
     loc_resp = get_json(url)