listen: not-wake-up: increase the random value's range

the old range is too narrow and therefore make data override often happen.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
pull/101/head
Wu Zhangjin 2018-06-10 22:16:48 +08:00 committed by Matthew Scholefield
parent 83bd6804c9
commit 523eb719f1
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ usage = '''
Samples between inferences
'''
session_id, chunk_num = '%03d' % randint(0, 999), 0
session_id, chunk_num = '%09d' % randint(0, 999999999), 0
def main():

View File

@ -43,7 +43,7 @@ usage = '''
Prefix for saved filenames
'''
session_id, chunk_num = '%03d' % randint(0, 999), 0
session_id, chunk_num = '%09d' % randint(0, 999999999), 0
def main():