Don't allow empty http_proxy values
This commit is contained in:
parent
7ba624d10f
commit
8e2320858a
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user