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