mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Merge pull request #370 from pypeclub/bugfix/server_sync_without_icon
bugfix/server sync without icon
This commit is contained in:
commit
c73d234c5d
1 changed files with 0 additions and 13 deletions
|
|
@ -1,10 +1,8 @@
|
||||||
import os
|
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from pype.modules.ftrack import BaseAction
|
from pype.modules.ftrack import BaseAction
|
||||||
from pype.modules.ftrack.lib.avalon_sync import SyncEntitiesFactory
|
from pype.modules.ftrack.lib.avalon_sync import SyncEntitiesFactory
|
||||||
from pype.api import config
|
|
||||||
|
|
||||||
|
|
||||||
class SyncToAvalonServer(BaseAction):
|
class SyncToAvalonServer(BaseAction):
|
||||||
|
|
@ -38,17 +36,6 @@ class SyncToAvalonServer(BaseAction):
|
||||||
variant = "- Sync To Avalon (Server)"
|
variant = "- Sync To Avalon (Server)"
|
||||||
#: Action description.
|
#: Action description.
|
||||||
description = "Send data from Ftrack to Avalon"
|
description = "Send data from Ftrack to Avalon"
|
||||||
#: Action icon.
|
|
||||||
icon = "{}/ftrack/action_icons/PypeAdmin.svg".format(
|
|
||||||
os.environ.get(
|
|
||||||
"PYPE_STATICS_SERVER",
|
|
||||||
"http://localhost:{}".format(
|
|
||||||
config.get_presets().get("services", {}).get(
|
|
||||||
"rest_api", {}
|
|
||||||
).get("default_port", 8021)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue