don't set when it's empty
This commit is contained in:
parent
549f046904
commit
0e20e435f4
|
@ -145,7 +145,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:
|
if not env_proxy and self.conf.http_proxy:
|
||||||
os.putenv ('http_proxy', self.conf.http_proxy)
|
os.putenv ('http_proxy', self.conf.http_proxy)
|
||||||
|
|
||||||
if self.spawn_child () == -1:
|
if self.spawn_child () == -1:
|
||||||
|
|
Loading…
Reference in New Issue