changeset 1548:5d8009daea51

effecteval ok to run with no output (?) Ignore-this: 1d5068ddbf40adcd4f1329363f1bc616
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 19 May 2017 07:49:22 +0000
parents 3ca103d97f98
children 507581ee458b
files bin/effecteval
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/effecteval	Fri May 19 07:48:32 2017 +0000
+++ b/bin/effecteval	Fri May 19 07:49:22 2017 +0000
@@ -301,8 +301,9 @@
 
     def launch(self, *args):
         log.info('launch')
-        self.loop = makeEffectLoop(self.graph, self.stats, self.outputWhere)
-        self.loop.startLoop()
+        if self.outputWhere:
+            self.loop = makeEffectLoop(self.graph, self.stats, self.outputWhere)
+            self.loop.startLoop()
         
         SFH = cyclone.web.StaticFileHandler
         self.cycloneApp = cyclone.web.Application(handlers=[