Skip to content

Commit 1605264

Browse files
authored
Merge pull request #469 from jasperges/fix-468-creatorpython3
Fix #468 - Creator tool fails to load on Python 3+
2 parents 5c31c69 + 5066cf3 commit 1605264

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

avalon/tools/creator/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ def __init__(self, *args, **kwargs):
6565
self.setToolTip("Only alphanumeric characters (A-Z a-z 0-9), "
6666
"'_' and '.' are allowed.")
6767

68-
self._status_color = None
68+
self._status_color = self.colors["empty"][0]
6969

7070
anim = QtCore.QPropertyAnimation()
7171
anim.setTargetObject(self)
72-
anim.setPropertyName("status_color")
72+
anim.setPropertyName(b"status_color")
7373
anim.setEasingCurve(QtCore.QEasingCurve.InCubic)
7474
anim.setDuration(300)
7575
anim.setStartValue(QtGui.QColor("#C84747")) # `Invalid` status color

0 commit comments

Comments
 (0)