mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix abstract property
This commit is contained in:
parent
b8b012df26
commit
e705358319
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import os
|
||||
import logging
|
||||
import contextlib
|
||||
from abc import ABC, abstractproperty
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
# NOTE can't import 'typing' because of issues in Maya 2020
|
||||
# - shiboken crashes on 'typing' module import
|
||||
|
|
@ -92,7 +92,8 @@ class HostBase(ABC):
|
|||
self._log = logging.getLogger(self.__class__.__name__)
|
||||
return self._log
|
||||
|
||||
@abstractproperty
|
||||
@property
|
||||
@abstractmethod
|
||||
def name(self):
|
||||
"""Host name."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue