Skip to content
Snippets Groups Projects
Commit 993d68d7 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix python lib

parent 8f3f7c10
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,7 @@ cdef class PyProducer:
cdef EventHeader event_header = self.create_event_header(id,exposed_path,user_meta,subset,ingest_mode)
event_header.file_size = 0
err = self.c_producer.get().SendFile(event_header, _bytes(local_path), _bytes(substream), ingest_mode,
err = self.c_producer.get().SendFile(event_header, _bytes(substream), _bytes(local_path), ingest_mode,
unwrap_callback(<RequestCallbackCython>self.c_callback, <void*>self,<void*>callback if callback != None else NULL))
if err:
throw_exception(err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment