mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
Switch to python3
This commit is contained in:
parent
f7bf0c6b3e
commit
8f9f4ba6a2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
import os
|
||||
|
||||
base = os.path.dirname(os.path.realpath(__file__))
|
||||
|
@ -25,7 +25,7 @@ for line in lines:
|
|||
|
||||
code = "map[string]string {\n"
|
||||
|
||||
for prefix, vendor in m.iteritems():
|
||||
for prefix, vendor in m.items():
|
||||
code += " \"%s\": \"%s\",\n" % ( prefix, vendor )
|
||||
|
||||
code += "}\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue