Skip to content

Commit 58f3e8c

Browse files
committed
Fix lint.
1 parent 76d67dd commit 58f3e8c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

client/ayon_resolve/api/lib.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,12 +1261,10 @@ def detect_project_resolution_mismatch(task_entity=None):
12611261
attributes = task_entity["attrib"]
12621262
width = attributes["resolutionWidth"]
12631263
height = attributes["resolutionHeight"]
1264-
pixel_aspect_ratio = round(attributes["pixelAspect"], 2)
12651264

12661265
resolve_project = get_current_resolve_project()
12671266
resolve_width = resolve_project.GetSetting("timelineResolutionWidth")
12681267
resolve_height = resolve_project.GetSetting("timelineResolutionHeight")
1269-
resolve_pa = resolve_project.SetSetting("timelinePixelAspectRatio")
12701268

12711269
if (str(width), str(height)) != (resolve_width, resolve_height):
12721270
return (

client/ayon_resolve/api/pipeline.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import sys
99

1010
from pyblish import api as pyblish
11-
from qtpy import QtWidgets, QtCore, QtGui
11+
from qtpy import QtWidgets
1212

1313
from ayon_core.lib import Logger
1414
from ayon_core.pipeline import (
@@ -86,9 +86,6 @@ def install(self):
8686
get_resolve_module()
8787

8888
def open_workfile(self, filepath):
89-
settings = get_project_settings(
90-
get_current_project_name()
91-
)
9289
success = open_file(filepath)
9390
if success:
9491
self._show_ayon_settings_confirmation_windows()

0 commit comments

Comments
 (0)