We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92434f3 commit c5c07ebCopy full SHA for c5c07eb
1 file changed
python/create_sandbox/dialog.py
@@ -12,7 +12,11 @@
12
import datetime
13
import os
14
from sgtk.platform.qt import QtCore, QtGui
15
-from tank_vendor import six
+
16
+try:
17
+ from tank_vendor import sgutils
18
+except ImportError:
19
+ from tank_vendor import six as sgutils
20
21
from .ui.dialog import Ui_Dialog
22
@@ -90,7 +94,7 @@ def _process(self):
90
94
"""
91
95
Creates a new configuration
92
96
93
- path = six.ensure_str(self.ui.path.text())
97
+ path = sgutils.ensure_str(self.ui.path.text())
98
99
# validate the name
100
if self.ui.config_name.text() == "":
0 commit comments