summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/qemucommand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py
index 85b12c6..8d3ee0e 100644
--- a/scripts/qemucommand.py
+++ b/scripts/qemucommand.py
@@ -128,7 +128,7 @@ class QemuCommand(object):
128 self.secondary_network = args.secondary_network 128 self.secondary_network = args.secondary_network
129 129
130 # Append additional port forwarding to QEMU command line. 130 # Append additional port forwarding to QEMU command line.
131 if args.host_forward: 131 if hasattr(args, 'host_forward'):
132 self.host_fwd = args.host_forward 132 self.host_fwd = args.host_forward
133 133
134 def command_line(self): 134 def command_line(self):