mirror of https://github.com/kivy/pyjnius.git
Remove always-false isinstance check.
This commit is contained in:
parent
de76124bfc
commit
e7dc9be08b
|
@ -129,7 +129,6 @@ class MetaJavaClass(MetaJavaBase):
|
||||||
obj = jcs.j_cls
|
obj = jcs.j_cls
|
||||||
|
|
||||||
if NULL == obj:
|
if NULL == obj:
|
||||||
if isinstance(value, PythonJavaClass):
|
|
||||||
for interface in getattr(value, '__javainterfaces__', []):
|
for interface in getattr(value, '__javainterfaces__', []):
|
||||||
obj = j_env[0].FindClass(j_env, interface)
|
obj = j_env[0].FindClass(j_env, interface)
|
||||||
if obj == NULL:
|
if obj == NULL:
|
||||||
|
|
Loading…
Reference in New Issue