Skip to content

Commit 8592bf5

Browse files
committed
remove vendor from import
1 parent f822e8a commit 8592bf5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

NodeGraphQt/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/python
22
# -*- coding: utf-8 -*-
33

4-
# (c) 2017, Johnny Chan and some awesome contributors (^_^)
4+
# (c) 2017, Johnny Chan and some awesome contributors (^_^)
55
# https://github.com/jchanvfx/NodeGraphQt/graphs/contributors
66

77
# Redistribution and use in source and binary forms, with or without
@@ -76,10 +76,10 @@ def __init__(self):
7676
try:
7777
from Qt import QtWidgets, QtGui, QtCore, QtCompat, QtOpenGL
7878
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
8181
print('NodeGraphQt: Can\'t import "Qt.py" module falling back on '
82-
'"NodeGraphQt.vendor.Qt ({})"'.format(qtpy_ver))
82+
'"Qt ({})"'.format(qtpy_ver))
8383

8484
from .base.graph import NodeGraph, SubGraph
8585
from .base.menu import NodesMenu, NodeGraphMenu, NodeGraphCommand
@@ -127,4 +127,3 @@ def __init__(self):
127127
'update_nodes_by_up',
128128
'update_nodes_by_down',
129129
]
130-

0 commit comments

Comments
 (0)