diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-19 16:55:44 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-26 13:34:47 +0200 |
| commit | 653f1057153af51d88ceae517328df9f919ea9ce (patch) | |
| tree | 984fead7a5b1ab47c1013c9df0c8c7726295c209 /client/speaker.py | |
| parent | 4d9cefe521b6bec2722479c8640a7ed5725f1e84 (diff) | |
| download | jasper-client-653f1057153af51d88ceae517328df9f919ea9ce.tar.gz jasper-client-653f1057153af51d88ceae517328df9f919ea9ce.zip | |
Use os.devnull instead of hardcoded /dev/null
Diffstat (limited to 'client/speaker.py')
| -rw-r--r-- | client/speaker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/speaker.py b/client/speaker.py index 7b9c018..7e90986 100644 --- a/client/speaker.py +++ b/client/speaker.py @@ -128,7 +128,7 @@ class picoSpeaker(AbstractSpeaker): @property def languages(self): cmd = ['pico2wave', '-l', 'NULL', - '-w', '/dev/null', + '-w', os.devnull, 'NULL'] with tempfile.SpooledTemporaryFile() as f: subprocess.call(cmd, stderr=f) |
