server/func/images: Fix Unicode Error
This commit is contained in:
parent
987a3aa8f2
commit
e80c482891
2 changed files with 2 additions and 2 deletions
|
@ -7,6 +7,6 @@ elasticsearch>=5.0.0
|
|||
elasticsearch-dsl>=5.0.0
|
||||
numpy>=1.8.2
|
||||
pillow>=4.3.0
|
||||
pynacl>=1.2.1
|
||||
pynacl==1.2.1
|
||||
pytz>=2018.3
|
||||
pyRFC3339>=1.0
|
||||
|
|
|
@ -158,7 +158,7 @@ class Image:
|
|||
'-af', 'volumedetect',
|
||||
'-f', 'null',
|
||||
'-y', '/dev/null',
|
||||
], get_logs=True).decode('utf-8')
|
||||
], get_logs=True).decode('utf-8', errors='replace')
|
||||
log_match = re.search(r'.*volumedetect.*mean_volume: (.*) dB', log)
|
||||
assert log_match
|
||||
assert log_match.groups()
|
||||
|
|
Loading…
Reference in a new issue