don't set when it's empty

This commit is contained in:
Chris Jones 2008-05-19 23:05:10 +01:00
parent 549f046904
commit 0e20e435f4
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class TerminatorTerm (gtk.VBox):
self.add_matches()
env_proxy = os.getenv ('http_proxy')
if not env_proxy:
if not env_proxy and self.conf.http_proxy:
os.putenv ('http_proxy', self.conf.http_proxy)
if self.spawn_child () == -1: