convert print statements to py3
This commit is contained in:
parent
2aa4392a38
commit
632ba9acfe
15 changed files with 54 additions and 40 deletions
|
@ -1,5 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import print_function
|
||||
import logging
|
||||
import json
|
||||
import time
|
||||
|
@ -36,7 +37,7 @@ def api_client(logger):
|
|||
try:
|
||||
config = ConfigObj('/etc/airtime/airtime.conf')
|
||||
except Exception, e:
|
||||
print ('Error loading config file: %s', e)
|
||||
print('Error loading config file: %s', e)
|
||||
sys.exit()
|
||||
|
||||
# TODO : add docstrings everywhere in this module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue