mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Bugfix: open_graphical_browser opens CLI browsers
This commit is contained in:
parent
bb4e7b2c0e
commit
c0f773214f
2 changed files with 8 additions and 2 deletions
|
|
@ -9,6 +9,12 @@ Package maintainers and users who have to manually update their installation
|
||||||
may want to subscribe to `GitHub's tag feed
|
may want to subscribe to `GitHub's tag feed
|
||||||
<https://github.com/untitaker/vdirsyncer/tags.atom>`_.
|
<https://github.com/untitaker/vdirsyncer/tags.atom>`_.
|
||||||
|
|
||||||
|
Version 0.7.5
|
||||||
|
=============
|
||||||
|
|
||||||
|
- Fixed a bug in :storage:`remotestorage` that would try to open a CLI browser
|
||||||
|
for OAuth.
|
||||||
|
|
||||||
Version 0.7.4
|
Version 0.7.4
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -209,10 +209,10 @@ def open_graphical_browser(url, new=0, autoraise=True):
|
||||||
'w3m'])
|
'w3m'])
|
||||||
|
|
||||||
for name in webbrowser._tryorder:
|
for name in webbrowser._tryorder:
|
||||||
browser = webbrowser.get(name)
|
if name in cli_names:
|
||||||
if browser in cli_names:
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
browser = webbrowser.get(name)
|
||||||
if browser.open(url, new, autoraise):
|
if browser.open(url, new, autoraise):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue