Skip to content

Commit 0f21372

Browse files
committed
Fixed webbrowser registration for python3
Following tito's patch
1 parent a0838b6 commit 0f21372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/android/src/android/_android.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ class AndroidBrowser(object):
332332
return open_url(url)
333333

334334
import webbrowser
335-
webbrowser.register('android', AndroidBrowser, None, -1)
335+
webbrowser.register('android', AndroidBrowser)
336336

337337
cdef extern void android_start_service(char *, char *, char *)
338338
def start_service(title=None, description=None, arg=None):

0 commit comments

Comments
 (0)