mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix typo 'AbtractAttrDef' to 'AbstractAttrDef'
This commit is contained in:
parent
36df58aba1
commit
d48b73ed61
9 changed files with 34 additions and 34 deletions
|
|
@ -4,7 +4,7 @@ import copy
|
|||
from qtpy import QtWidgets, QtCore
|
||||
|
||||
from openpype.lib.attribute_definitions import (
|
||||
AbtractAttrDef,
|
||||
AbstractAttrDef,
|
||||
UnknownDef,
|
||||
HiddenDef,
|
||||
NumberDef,
|
||||
|
|
@ -33,9 +33,9 @@ def create_widget_for_attr_def(attr_def, parent=None):
|
|||
|
||||
|
||||
def _create_widget_for_attr_def(attr_def, parent=None):
|
||||
if not isinstance(attr_def, AbtractAttrDef):
|
||||
if not isinstance(attr_def, AbstractAttrDef):
|
||||
raise TypeError("Unexpected type \"{}\" expected \"{}\"".format(
|
||||
str(type(attr_def)), AbtractAttrDef
|
||||
str(type(attr_def)), AbstractAttrDef
|
||||
))
|
||||
|
||||
if isinstance(attr_def, NumberDef):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue