mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix tray publisher installation
This commit is contained in:
parent
328a35c166
commit
4ceaa605c3
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ publishing plugins.
|
||||||
|
|
||||||
from Qt import QtWidgets, QtCore
|
from Qt import QtWidgets, QtCore
|
||||||
|
|
||||||
import avalon.api
|
|
||||||
from avalon.api import AvalonMongoDB
|
from avalon.api import AvalonMongoDB
|
||||||
|
from openpype.pipeline import install_host
|
||||||
from openpype.hosts.traypublisher import (
|
from openpype.hosts.traypublisher import (
|
||||||
api as traypublisher
|
api as traypublisher
|
||||||
)
|
)
|
||||||
|
|
@ -163,7 +163,7 @@ class TrayPublishWindow(PublisherWindow):
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
avalon.api.install(traypublisher)
|
install_host(traypublisher)
|
||||||
app = QtWidgets.QApplication([])
|
app = QtWidgets.QApplication([])
|
||||||
window = TrayPublishWindow()
|
window = TrayPublishWindow()
|
||||||
window.show()
|
window.show()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue