Skip to content

Commit cb61d8f

Browse files
committed
fix import
1 parent 8b89bc0 commit cb61d8f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

NodeGraphQt/widgets/properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ def get_widget(self, name):
970970

971971
if __name__ == '__main__':
972972
import sys
973-
from Framework.vendor.NodeGraphQt import BaseNode, NodeGraph
973+
from .. import BaseNode, NodeGraph
974974

975975

976976
class TestNode(BaseNode):

NodeGraphQt/widgets/properties_bin.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,13 @@ def prop_widget(self, node):
250250

251251
if __name__ == '__main__':
252252
import sys
253-
from Framework.vendor.NodeGraphQt import BaseNode, NodeGraph
254-
from Framework.vendor.NodeGraphQt.constants import (NODE_PROP_QLABEL,
255-
NODE_PROP_QLINEEDIT,
256-
NODE_PROP_QCOMBO,
257-
NODE_PROP_QSPINBOX,
258-
NODE_PROP_COLORPICKER,
259-
NODE_PROP_SLIDER)
253+
from .. import BaseNode, NodeGraph
254+
from ..constants import (NODE_PROP_QLABEL,
255+
NODE_PROP_QLINEEDIT,
256+
NODE_PROP_QCOMBO,
257+
NODE_PROP_QSPINBOX,
258+
NODE_PROP_COLORPICKER,
259+
NODE_PROP_SLIDER)
260260

261261

262262
class TestNode(BaseNode):

0 commit comments

Comments
 (0)