raceback (most recent call last):
File "/Users/charlesdagenais/Sites/pyhydroquebec/./env/bin/pyhydroquebec", line 33, in <module>
sys.exit(load_entry_point('pyhydroquebec', 'console_scripts', 'pyhydroquebec')())
File "/Users/charlesdagenais/Sites/pyhydroquebec/pyhydroquebec/__main__.py", line 168, in main
output_text(results[0], args.hourly)
File "/Users/charlesdagenais/Sites/pyhydroquebec/pyhydroquebec/outputter.py", line 19, in output_text
print(CONSUMPTION_PROFILE_TPL.format(d=customer.current_period))
TypeError: unsupported format string passed to NoneType.__format__
because 'period_projection': None in customer.current_period
Was getting an error while gathering my data:
because
'period_projection': None
incustomer.current_period