Improve python3 compatibility in webconfig.py
This commit is contained in:
parent
1ba0bfd10c
commit
e0764bb25e
@ -199,7 +199,7 @@ def ansi_to_html(val):
|
||||
span_open = False
|
||||
|
||||
# Text is at even indexes, escape sequences at odd indexes
|
||||
for i in xrange(len(separated)):
|
||||
for i in range(len(separated)):
|
||||
component = separated[i]
|
||||
if i % 2 == 0:
|
||||
# It's text, possibly empty
|
||||
|
Loading…
x
Reference in New Issue
Block a user