|
1 | 1 | #!/usr/bin/python |
2 | 2 | # -*- coding: utf-8 -*- |
3 | 3 |
|
4 | | -# (c) 2017, Johnny Chan and some awesome contributors (^_^) |
| 4 | +# (c) 2017, Johnny Chan and some awesome contributors (^_^) |
5 | 5 | # https://github.com/jchanvfx/NodeGraphQt/graphs/contributors |
6 | 6 |
|
7 | 7 | # Redistribution and use in source and binary forms, with or without |
@@ -76,10 +76,10 @@ def __init__(self): |
76 | 76 | try: |
77 | 77 | from Qt import QtWidgets, QtGui, QtCore, QtCompat, QtOpenGL |
78 | 78 | except ImportError as ie: |
79 | | - from .vendor.Qt import __version__ as qtpy_ver |
80 | | - from .vendor.Qt import QtWidgets, QtGui, QtCore, QtCompat ,QtOpenGL |
| 79 | + from Qt import __version__ as qtpy_ver |
| 80 | + from Qt import QtWidgets, QtGui, QtCore, QtCompat ,QtOpenGL |
81 | 81 | print('NodeGraphQt: Can\'t import "Qt.py" module falling back on ' |
82 | | - '"NodeGraphQt.vendor.Qt ({})"'.format(qtpy_ver)) |
| 82 | + '"Qt ({})"'.format(qtpy_ver)) |
83 | 83 |
|
84 | 84 | from .base.graph import NodeGraph, SubGraph |
85 | 85 | from .base.menu import NodesMenu, NodeGraphMenu, NodeGraphCommand |
@@ -127,4 +127,3 @@ def __init__(self): |
127 | 127 | 'update_nodes_by_up', |
128 | 128 | 'update_nodes_by_down', |
129 | 129 | ] |
130 | | - |
0 commit comments