diff options
author | Clayton G. Hobbs <clay@lakeserv.net> | 2015-12-27 13:57:33 -0500 |
---|---|---|
committer | Clayton G. Hobbs <clay@lakeserv.net> | 2015-12-27 13:57:33 -0500 |
commit | 0d67d50252849eca6e659f2daf20616542ec2a05 (patch) | |
tree | cacc4f1a2f1e41d13d0f3f4aa491f073ae7b19a6 /blather.py | |
parent | 87c0a1bfe93ffbe7eb67c41ea2b46fd5a7c1ab28 (diff) |
Quieter; reorganize gst pipeline code
Removed a bunch of print statements that looked like they were added for debugging, then never removed. Reorganized GStreamer pipeline code so that all configuration is done when the pipeline is created.
Diffstat (limited to 'blather.py')
-rwxr-xr-x | blather.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/blather.py b/blather.py index d7fa14b..7cfe276 100755 --- a/blather.py +++ b/blather.py @@ -84,21 +84,17 @@ class Blather: self.recognizer.connect('finished', self.recognizer_finished) - print("Using Options: ", self.options) - def read_commands(self): # Read the commands file file_lines = open(command_file) strings = open(strings_file, "w") for line in file_lines: - print(line) # Trim the white spaces line = line.strip() # If the line has length and the first char isn't a hash if len(line) and line[0]!="#": # This is a parsible line (key, value) = line.split(":", 1) - print(key, value) self.commands[key.strip().lower()] = value.strip() strings.write(key.strip() + "\n") # Close the strings file |