1
0
Fork 0
mirror of synced 2024-11-16 21:45:35 -05:00

Fix compatibility with Python 3

This patch removes a stray print statement that was causing problems
with Python 3.
This commit is contained in:
Anish Athalye 2016-01-15 01:21:16 -05:00
parent 47ad7f4d3b
commit 582edd6bd3

View file

@ -11,7 +11,6 @@ class ConfigReader(object):
try:
_, ext = os.path.splitext(config_file_path)
with open(config_file_path) as fin:
print ext
if ext == '.json':
data = json.load(fin)
else: