fix config.debug
[sface.git] / sface / sfiprocess.py
index c1f3b95..8e5e371 100644 (file)
@@ -41,8 +41,8 @@ class SfiProcess(QObject):
         return self.process.state() != QProcess.NotRunning
 
     def processStandardOutput(self):
-        output = self.readAllStandardOutput()
-        if self.debug:
+        output = self.process.readAllStandardOutput()
+        if config.debug:
             print output
 
     def processStandardError(self):