diff --git a/python/tk_multi_importcut/constants.py b/python/tk_multi_importcut/constants.py index 2c12e7a7..a43a264c 100644 --- a/python/tk_multi_importcut/constants.py +++ b/python/tk_multi_importcut/constants.py @@ -31,6 +31,9 @@ # EDL file extension _EDL_EXT = ".edl" +# Url that links to Import Cut documentation. +_DOCUMENTATION_URL = "https://support.shotgunsoftware.com/hc/en-us/articles/219041758-Import-Cut" + # Some colors used in various places _COLORS = { "sg_blue" : "#2C93E2", diff --git a/python/tk_multi_importcut/dialog.py b/python/tk_multi_importcut/dialog.py index 8cdc8474..7e5d9529 100644 --- a/python/tk_multi_importcut/dialog.py +++ b/python/tk_multi_importcut/dialog.py @@ -58,6 +58,9 @@ class SelectorButton(QtGui.QPushButton): # Supported movie file extensions from .constants import _VIDEO_EXTS, _EDL_EXT +# Documentation url +from .constants import _DOCUMENTATION_URL + settings = sgtk.platform.import_framework("tk-framework-shotgunutils", "settings") _BAD_PERMISSIONS_MSG = "The following error was reported:\n\nIt's possible you \ @@ -1323,7 +1326,7 @@ def show_help(self): Called at the start of the import if user clicks on the "?" button: shows the documentation in the default web browser. """ - help_url = QtCore.QUrl(self._app.documentation_url) + help_url = QtCore.QUrl(_DOCUMENTATION_URL) QtGui.QDesktopServices.openUrl(help_url) @QtCore.Slot(str, list)