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

View File

@ -182,7 +182,7 @@ class TerminatorTerm (gtk.VBox):
self.add_matches()
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 ('COLORTERM', 'gnome-terminal')