mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2026-03-30 00:59:51 +01:00
Convert .format() to f-strings with flynt
This commit is contained in:
@@ -65,7 +65,7 @@ for r in lines[1:]:
|
||||
if mug:
|
||||
if not (os.path.isfile(mug)):
|
||||
print("ERROR: --------------- mug file does not exist: ", mug, file=sys.stderr)
|
||||
if mug: output += '<a href=%s><img alt=":-)" src="i/mug.png" /></a>' % mug
|
||||
if mug: output += f'<a href={mug}><img alt=":-)" src="i/mug.png" /></a>'
|
||||
output += '</td>'
|
||||
for y in range(len(years)):
|
||||
if(years[y]):
|
||||
|
||||
Reference in New Issue
Block a user