mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Support IOURC update
This commit is contained in:
1 parent
8ca9c2121a
commit
4a9f578784
4 files changed
+10
-2
No files matched your search
@@ -393,7 +393,7 @@ class IOUVM(BaseVM):
|
||||
|
||||
# We can't test this because it's mean distributing a valid licence key
|
||||
# in tests or generating one
|
||||
if not sys._called_from_test:
|
||||
if not hasattr(sys, "_called_from_test"):
|
||||
try:
|
||||
hostid = (yield from gns3server.utils.asyncio.subprocess_check_output("hostid")).strip()
|
||||
except FileNotFoundError as e:
|
||||
|
||||
Reference in new issue
Block a user