Package: speech-dispatcher / 0.8.6-4+deb9u1

spd-conf Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/src/api/python/speechd_config/config.py.in
+++ b/src/api/python/speechd_config/config.py.in
@@ -156,6 +156,7 @@ def setup_argparse():
     parser.add_argument('-D', '--debug', dest='debug',
             action="store_true", default=False,
             help=_("Debug a problem and generate a report"))
+    return parser
 
 class Tests:
     """Tests of functionality of Speech Dispatcher and its dependencies
@@ -746,7 +747,7 @@ you have to start it manually to continu
 
 def main():
     options = setup_argparse()
-    options.parse()
+    options = options.parse_args()
     test = Tests()
     configure = Configure(test) # that should possibly be refactored, test should not be passed