Skip to content

Commit be241c8

Browse files
committed
Use os.devnull instead of hardcoded /dev/null
1 parent 410c203 commit be241c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/speaker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def is_available(cls):
128128
@property
129129
def languages(self):
130130
cmd = ['pico2wave', '-l', 'NULL',
131-
'-w', '/dev/null',
131+
'-w', os.devnull,
132132
'NULL']
133133
with tempfile.SpooledTemporaryFile() as f:
134134
subprocess.call(cmd, stderr=f)

0 commit comments

Comments
 (0)