Skip to content

Commit 125fbfa

Browse files
jdcaballerovmgautierfr
authored andcommitted
Remove empty bytes object from public api
1 parent 4561e9f commit 125fbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libzim/libzim.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ cdef public api:
107107
Blob blob_cy_call_fct(void *ptr, string method, int *error):
108108
"""Lookup and execute a pure virtual method on ZimArticle returning a Blob"""
109109
cdef ZimArticle art = <ZimArticle>(ptr)
110-
cdef ZimBlob blob = ZimBlob(b'\x00')
110+
cdef ZimBlob blob
111111
try:
112112
func = getattr(art, method.decode('UTF-8'))
113113
except AttributeError:

0 commit comments

Comments
 (0)