Skip to content

Commit cc2306d

Browse files
Removed python2 try/except sgutils block (#14)
1 parent 2067874 commit cc2306d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

python/create_sandbox/dialog.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
import os
1414
from sgtk.platform.qt import QtCore, QtGui
1515

16-
try:
17-
from tank_vendor import sgutils
18-
except ImportError:
19-
from tank_vendor import six as sgutils
20-
2116
from .ui.dialog import Ui_Dialog
2217

2318
# import frameworks
@@ -94,7 +89,7 @@ def _process(self):
9489
"""
9590
Creates a new configuration
9691
"""
97-
path = sgutils.ensure_str(self.ui.path.text())
92+
path = self.ui.path.text()
9893

9994
# validate the name
10095
if self.ui.config_name.text() == "":

0 commit comments

Comments
 (0)