Change Print to Logger

This commit is contained in:
Cort Buffington 2016-08-05 09:19:50 -05:00
parent bb26a9cc77
commit 70bf6d3dce
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ def reread_subscribers():
subscriber_ids = {}
for row in subscribers:
subscriber_ids[int(row[0])] = (row[1])
print('Subscriber file has been updated.', len(subscriber_ids), 'IDs imported')
logger.info('Subscriber file has been updated. %s IDs imported', len(subscriber_ids))
except ImportError:
logger.warning('subscriber_ids.csv not found: Subscriber aliases will not be available')