mirror of
https://github.com/FAUSheppy/ths-speech
synced 2026-01-22 10:57:40 +01:00
lol
This commit is contained in:
@@ -15,8 +15,8 @@ def parse_request(data):
|
||||
# reply transcript #
|
||||
cleared_data = is_data_type(b"GET_TRANSCRIPT,",data)
|
||||
if cleared_data:
|
||||
filename = data.decode("utf-8")
|
||||
return filesystem.get_transcript().encode("utf-8")
|
||||
filename = cleared_data.decode("utf-8")
|
||||
return filesystem.get_transcript(filename).encode("utf-8")
|
||||
|
||||
# get single file info #
|
||||
cleared_data = is_data_type(b"GET_FILEINFO,",data)
|
||||
|
||||
Reference in New Issue
Block a user