mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
parent
87838cb574
commit
253e113168
@ -360,8 +360,10 @@ class IOUVM(BaseNode):
|
|||||||
"""
|
"""
|
||||||
Checks for a valid IOU key in the iourc file (paranoid mode).
|
Checks for a valid IOU key in the iourc file (paranoid mode).
|
||||||
"""
|
"""
|
||||||
|
try:
|
||||||
license_check = self._config().getboolean("license_check", True)
|
license_check = self._config().getboolean("license_check", True)
|
||||||
|
except ValueError:
|
||||||
|
raise IOUError("Invalid licence check setting")
|
||||||
if license_check is False:
|
if license_check is False:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user