Skip to content

Commit a0e22d4

Browse files
chore: [pre-commit.ci] automatic fixes
1 parent 8549a2f commit a0e22d4

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

Diff for: proxima/app/link.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def batch_link(self):
140140
logger.critical(
141141
"[red bold]Oh dear. All the proxies failed to link.[/]\n"
142142
"[red]Resolve might not like your encoding settings or something else is wrong.[/]\n",
143-
exc_info=True
143+
exc_info=True,
144144
# TODO: Add troubleshooting wiki link here
145145
# Like so: `"[cyan]See [troubleshooting](link)"`
146146
# labels: enhancement

Diff for: proxima/celery/tasks.py

+8-6
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,14 @@ def encode_proxy(self, job_dict: dict) -> str:
170170
# labels: enhancement
171171
# VIDEO FILTERS
172172
"-vf",
173-
f"scale=-2:{ps.vertical_res},"
174-
f"scale={job.input_level}:out_range=limited, "
175-
f"{ffmpeg_video_flip(job)}"
176-
f"format={ps.pix_fmt}"
177-
if ps.pix_fmt
178-
else "",
173+
(
174+
f"scale=-2:{ps.vertical_res},"
175+
f"scale={job.input_level}:out_range=limited, "
176+
f"{ffmpeg_video_flip(job)}"
177+
f"format={ps.pix_fmt}"
178+
if ps.pix_fmt
179+
else ""
180+
),
179181
# AUDIO
180182
"-c:a",
181183
ps.audio_codec,

Diff for: proxima/settings/manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from rich import print
2020
from rich.panel import Panel
2121

22-
from proxima.app.core import setup_rich_logging, app_exit
22+
from proxima.app.core import app_exit, setup_rich_logging
2323
from proxima.settings import dotenv_settings_file, user_settings_file
2424

2525
setup_rich_logging()

0 commit comments

Comments
 (0)