Don't allow empty http_proxy values

This commit is contained in:
Chris Jones 2008-05-29 13:12:06 +01:00
parent 7ba624d10f
commit 8e2320858a
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class TerminatorTerm (gtk.VBox):
self.add_matches() self.add_matches()
env_proxy = os.getenv ('http_proxy') env_proxy = os.getenv ('http_proxy')
if not env_proxy and self.conf.http_proxy: if not env_proxy and self.conf.http_proxy and self.conf.http_proxy != '':
os.putenv ('http_proxy', self.conf.http_proxy) os.putenv ('http_proxy', self.conf.http_proxy)
os.putenv ('COLORTERM', 'gnome-terminal') os.putenv ('COLORTERM', 'gnome-terminal')