mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix(premiere): removing message_window from pype.api and adding link to the message into premiere
This commit is contained in:
parent
22785a640c
commit
4f4a45c54b
2 changed files with 4 additions and 7 deletions
|
|
@ -46,8 +46,6 @@ from .lib import (
|
|||
get_data_hierarchical_attr
|
||||
)
|
||||
|
||||
from .widgets.message_window import message
|
||||
|
||||
__all__ = [
|
||||
# plugin classes
|
||||
"Extractor",
|
||||
|
|
@ -89,7 +87,4 @@ __all__ = [
|
|||
"Colorspace",
|
||||
"Dataflow",
|
||||
|
||||
# QtWidgets
|
||||
"message"
|
||||
|
||||
]
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ from pyblish import api as pyblish
|
|||
from pypeapp import Logger
|
||||
from .. import api
|
||||
|
||||
from ..widgets.message_window import message
|
||||
|
||||
import requests
|
||||
|
||||
log = Logger().get_logger(__name__, "premiere")
|
||||
|
|
@ -42,7 +44,7 @@ def request_aport(url_path, data={}):
|
|||
return req
|
||||
|
||||
except Exception as e:
|
||||
api.message(title="Premiere Aport Server",
|
||||
message(title="Premiere Aport Server",
|
||||
message="Before you can run Premiere, start Aport Server. \n Error: {}".format(
|
||||
e),
|
||||
level="critical")
|
||||
|
|
@ -99,7 +101,7 @@ def install():
|
|||
|
||||
# synchronize extensions
|
||||
extensions_sync()
|
||||
api.message(title="pyblish_paths", message=str(reg_paths), level="info")
|
||||
message(title="pyblish_paths", message=str(reg_paths), level="info")
|
||||
|
||||
|
||||
def uninstall():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue