Skip to content

Commit 9f0277b

Browse files
committed
Dont enter the GUI mainloop on Appveyor
1 parent 9e78d40 commit 9f0277b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/core_display_qt5_app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
##Author github user @Tanneguydv, 2021
22

3+
import os
34
import sys
45
from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox
56

@@ -62,4 +63,5 @@ def eraseBOX(self):
6263
if __name__ == '__main__':
6364
app = QApplication(sys.argv)
6465
ex = App()
65-
sys.exit(app.exec_())
66+
if os.getenv('APPVEYOR') is None:
67+
sys.exit(app.exec_())

0 commit comments

Comments
 (0)