mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Shortened length of line 141
This commit is contained in:
parent
dc2b519fd5
commit
bb61d43c27
1 changed files with 3 additions and 1 deletions
|
|
@ -138,7 +138,9 @@ def update_op_assets(
|
|||
item_data["fps"] = fps
|
||||
# Resolution, fall back to project default
|
||||
match_res = re.match(
|
||||
r"(\d+)x(\d+)", item_data.get("resolution", gazu_project.get("resolution")))
|
||||
r"(\d+)x(\d+)",
|
||||
item_data.get("resolution", gazu_project.get("resolution"))
|
||||
)
|
||||
if match_res:
|
||||
item_data["resolutionWidth"] = int(match_res.group(1))
|
||||
item_data["resolutionHeight"] = int(match_res.group(2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue