Skip to content

Commit 34d2b8e

Browse files
authored
Update __init__.py
1 parent 696be9f commit 34d2b8e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

NodeGraphQt/__init__.py

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

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

77
# Redistribution and use in source and binary forms, with or without
88
# modification, are permitted provided that the following conditions are met:
@@ -34,13 +34,13 @@
3434
into applications that supports **PySide2**.
3535
3636
project: https://github.com/jchanvfx/NodeGraphQt
37+
documantation: https://jchanvfx.github.io/NodeGraphQt/api/html/index.html
3738
3839
example code:
3940
4041
.. code-block:: python
4142
:linenos:
4243
43-
import sys
4444
from NodeGraphQt import QtWidgets, NodeGraph, BaseNode
4545
4646
@@ -55,7 +55,7 @@ def __init__(self):
5555
self.add_output('bar')
5656
5757
if __name__ == '__main__':
58-
app = QtWidgets.QApplication(sys.argv)
58+
app = QtWidgets.QApplication([])
5959
graph = NodeGraph()
6060
6161
graph.register_node(BaseNode)
@@ -78,7 +78,7 @@ def __init__(self):
7878
except ImportError as ie:
7979
from .vendor.Qt import __version__ as qtpy_ver
8080
from .vendor.Qt import QtWidgets, QtGui, QtCore, QtCompat ,QtOpenGL
81-
print('Cannot import "Qt.py" module falling back on '
81+
print('NodeGraphQt: Can\'t import "Qt.py" module falling back on '
8282
'"NodeGraphQt.vendor.Qt ({})"'.format(qtpy_ver))
8383

8484
from .base.graph import NodeGraph, SubGraph

0 commit comments

Comments
 (0)