Cleanup: minor change for f-string use
This commit is contained in:
parent
87535dd73d
commit
7d73ba904e
|
@ -149,7 +149,7 @@ class PlayRenderedAnim(Operator):
|
|||
opts = [file, f"{scene.frame_start:d}-{scene.frame_end:d}"]
|
||||
cmd.extend(opts)
|
||||
elif preset == 'RV':
|
||||
opts = ["-fps", str(rd.fps), "-play", f"[ {file} ]"]
|
||||
opts = ["-fps", str(rd.fps), "-play", f"[ {file:s} ]"]
|
||||
cmd.extend(opts)
|
||||
elif preset == 'MPLAYER':
|
||||
opts = []
|
||||
|
|
|
@ -67,12 +67,12 @@ class TEXT_HT_header(Header):
|
|||
if text.filepath:
|
||||
if text.is_dirty:
|
||||
row.label(
|
||||
iface_(f"File: *{text.filepath} (unsaved)"),
|
||||
iface_(f"File: *{text.filepath:s} (unsaved)"),
|
||||
translate=False,
|
||||
)
|
||||
else:
|
||||
row.label(
|
||||
iface_(f"File: {text.filepath}"),
|
||||
iface_(f"File: {text.filepath:s}"),
|
||||
translate=False,
|
||||
)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue