Skip to content

Commit

Permalink
Refactor code for better readability and consistency.
Browse files Browse the repository at this point in the history
- Refactored code to improve readability by adjusting indentation and line breaks.
- Made changes to ensure consistent formatting of the code.
  • Loading branch information
jakubjezek001 committed Oct 2, 2024
1 parent ce977ab commit 0b9cea9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/settings/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def _convert_oiio_transcode_0_4_5(publish_overrides):
if "ExtractOIIOTranscode" not in publish_overrides:
return

transcode_profiles = publish_overrides["ExtractOIIOTranscode"].get("profiles")
transcode_profiles = publish_overrides["ExtractOIIOTranscode"].get(
"profiles")
if not transcode_profiles:
return

Expand All @@ -108,7 +109,7 @@ def _convert_oiio_transcode_0_4_5(publish_overrides):
if outputs is None:
return

for output in outputs :
for output in outputs:
# Already new settings
if "display_view" in output:
break
Expand Down

0 comments on commit 0b9cea9

Please sign in to comment.