Flushing on DEBUG messages.
[goodfet] / client / GoodFET.py
index 1eb8575..27ea0e5 100755 (executable)
@@ -109,6 +109,7 @@ class GoodFET:
             #Debugging string; print, but wait.
             if self.app==0xFF and self.verb==0xFF:
                 print "# DEBUG %s" % self.serialport.read(self.count);
+                sys.stdout.flush();
             else:
                 self.data=self.serialport.read(self.count);
                 return self.data;