remove more Python2 hybridation

This commit is contained in:
Alexandre Detiste
2024-03-22 00:25:15 +01:00
committed by Scott Talbert
parent 0257f755cf
commit 323e78c085
21 changed files with 54 additions and 234 deletions

View File

@@ -198,10 +198,7 @@ def img2py(image_file, python_file,
while data:
part = data[:72]
data = data[72:]
if sys.version > '3':
output = ' %s' % part
else:
output = ' "%s"' % part
output = ' %s' % part
if not data:
output += ")"
lines.append(output)