--- weatherservice.py.orig 2014-07-04 13:59:21.745902670 -0400 +++ weatherservice.py 2014-07-04 13:43:27.117858898 -0400 @@ -333,7 +333,7 @@ return text.split(' ')[1].strip()[:-1] return '' -def is_day_now(sunrise,sunset,rawOffset): +def is_day_now(sunrise,sunset,rawOffset=0): now = datetime.time(datetime.utcnow() + timedelta(hours=rawOffset)) hora = ('%s:%s')%(now.hour,now.minute) print('********************************************************')