Skip to content

Commit 112897a

Browse files
committed
1 parent 1116c4b commit 112897a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libnmap/objects/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def scan_type(self):
110110
111111
:return: string
112112
"""
113-
return self._scaninfo['type']
113+
return self._scaninfo.get('type')
114114

115115
@property
116116
def hosts(self):

0 commit comments

Comments
 (0)