Skip to content

Commit c6e75ff

Browse files
committed
Revert previous commit
1 parent 94b6571 commit c6e75ff

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/FAST/Python/__init__fast.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
# Check that PySide2 is not included before fast
77
import sys
8-
if 'fast' not in sys.modules and 'PySide2.QtCore' in sys.modules:
9-
raise RuntimeError('You have to import fast before PySide2!\n\n'
10-
'Import FAST before PySide2 in the following way:\n'
11-
'if platform.system() != \'Windows\':\n'
12-
' import PySide2.QtSvg # Must import this before fast due to conflicting symbols\n'
13-
'import fast # Must import FAST before rest of pyside2\n'
14-
'from PySide2.QtWidgets import *')
8+
#if 'fast' not in sys.modules and 'PySide2.QtCore' in sys.modules:
9+
# raise RuntimeError('You have to import fast before PySide2!\n\n'
10+
# 'Import FAST before PySide2 in the following way:\n'
11+
# 'if platform.system() != \'Windows\':\n'
12+
# ' import PySide2.QtSvg # Must import this before fast due to conflicting symbols\n'
13+
# 'import fast # Must import FAST before rest of pyside2\n'
14+
# 'from PySide2.QtWidgets import *')
1515

1616
import os
1717
is_windows = sys.platform.startswith('win')

0 commit comments

Comments
 (0)