minor fix when specifying an explicit pipe

This commit is contained in:
David Rose 2012-01-09 23:46:35 +00:00
parent 15d2441661
commit 60f62deed1
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ class ShowBase(DirectObject.DirectObject):
self.notify.info("Window did not open, removing.")
self.closeWindow(self.win)
if self.win == None:
if self.win == None and not kw.get('pipe', None):
# Try a little harder if the window wouldn't open.
self.makeAllPipes()
try: