Commit 2273871b authored by Matteo's avatar Matteo
Browse files

update

parent dbb29744
...@@ -93,12 +93,12 @@ class AudioAnalyserServicer(arp_pb2_grpc.AIMServicer): ...@@ -93,12 +93,12 @@ class AudioAnalyserServicer(arp_pb2_grpc.AIMServicer):
if index == 1: if index == 1:
response, _ = try_or_error_response( response, _ = try_or_error_response(
context, context=context,
func=os.makedirs, func=os.makedirs,
args=[temp_dir],
on_success_message="Folders created successfully", on_success_message="Folders created successfully",
on_error_message="Unable to create temporary directory, output path already exists", on_error_message="Unable to create temporary directory, output path already exists",
on_error_status=StatusCode.ALREADY_EXISTS, on_error_status=StatusCode.ALREADY_EXISTS,
args=temp_dir
) )
yield response yield response
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment