mirror of
https://github.com/nmap/nmap.git
synced 2025-12-21 15:09:02 +00:00
Merge #2088: Update Zenmap to Python 3 and PyGObject
Note: Ndiff build will be broken until subsequent changes are made. Deprecation warnings will need to be addressed in future changes. Closes #2088
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
def cairo_to_gdk_color(color):
|
||||
"""
|
||||
"""
|
||||
new_color = range(len(color))
|
||||
new_color = list(range(len(color)))
|
||||
|
||||
for i in range(len(color)):
|
||||
new_color[i] = int(color[i] * 65535)
|
||||
|
||||
Reference in New Issue
Block a user