diff --git a/python_apps/pypo/pypocli.py b/python_apps/pypo/pypocli.py index 8873c6382..2a5d8a4b7 100644 --- a/python_apps/pypo/pypocli.py +++ b/python_apps/pypo/pypocli.py @@ -149,8 +149,8 @@ if __name__ == '__main__': #Although all of our calculations are in UTC, it is useful to know what timezone #the local machine is, so that we have a reference for what time the actual #log entries were made - logger.info("Timezone: %s" % time.tzname) - logger.info("UTC time: %s" % datetime.utcnow()) + logger.info("Timezone: %s" % str(time.tzname)) + logger.info("UTC time: %s" % str(datetime.utcnow())) signal.signal(signal.SIGINT, keyboardInterruptHandler)