------------------------------------------------------------
revno: 3749
committer: Jan Stransky <[email protected]>
timestamp: Wed 2013-11-06 16:33:02 +0100
message:
  fixed SyntaxError from previous commit
modified:
  gui/qt4/__init__.py


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to 
https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'gui/qt4/__init__.py'
--- gui/qt4/__init__.py	2013-11-06 14:47:35 +0000
+++ gui/qt4/__init__.py	2013-11-06 15:33:02 +0000
@@ -3,7 +3,7 @@
 if not yade.runtime.hasDisplay:
 	msg = "Connecting to DISPLAY at Yade startup failed, unable to activate the qt4 interface."
 	import os
-	'YADE_BATCH' in os.environ:
+	if 'YADE_BATCH' in os.environ:
 		msg += "\nDo not import qt when running in batch mode."
 	raise ImportError(msg)
 

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to