Fix IOU licence check flag

This commit is contained in:
Julien Duponchelle 2015-04-16 09:51:02 +02:00
parent e367f95f96
commit b5e01f7560

View File

@ -372,8 +372,8 @@ class IOUVM(BaseVM):
Checks for a valid IOU key in the iourc file (paranoid mode).
"""
license_check = self._manager.config.get_section_config("IOU").getboolean("license_check", False)
if license_check:
license_check = self._manager.config.get_section_config("IOU").getboolean("license_check", True)
if license_check is False:
return
config = configparser.ConfigParser()