Skip to content

Commit 284e889

Browse files
committed
fix invalid string check with ; (already splitted)
1 parent 5e11c01 commit 284e889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/android/src/java.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ cdef class JavaClass(object):
9999
elif argtype == 'D':
100100
j_args[index].d = py_arg
101101
elif argtype[0] == 'L':
102-
if argtype == 'Ljava/lang/String;':
102+
if argtype == 'Ljava/lang/String':
103103
if isinstance(py_arg, basestring):
104104
j_args[index].l = self.j_env[0].NewStringUTF(self.j_env, <char *><bytes>py_arg)
105105
else:

0 commit comments

Comments
 (0)