Commit 84a57b2f authored by Tristan Van Berkom's avatar Tristan Van Berkom

_frontend/ Fixed crash in previous commit

Commit e023beb5 introduced
a crash with an invalid access to os.environ, this fixes it.
parent e023beb5
Pipeline #22183569 passed with stages
in 33 minutes and 57 seconds
......@@ -29,6 +29,6 @@ class LinuxApp(App):
def notify(self, title, text):
term = os.environ('TERM')
term = os.environ['TERM']
if term in ('xterm', 'vte'):
click.echo("\033]777;notify;{};{}\007".format(title, text))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment