We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee258ec commit e050c62Copy full SHA for e050c62
devdocs_desktop.py
@@ -128,7 +128,8 @@ def quit(self):
128
Gtk.main_quit()
129
130
def load_uri(self, term):
131
- self.webview.load_uri("%s#q=%s" % (self.app_url, term))
+ string = "%s?q=%s" if bool(term) else "%s%s"
132
+ self.webview.load_uri(string % (self.app_url, term))
133
134
def settings_path(self, filepath=''):
135
root = "%s/devdocs-desktop" % os.path.expanduser('~/.config')
0 commit comments