Merge branch 'master' into woorst-imgur_api
This commit is contained in:
@@ -59,7 +59,7 @@ class Terminal(object):
|
||||
self.loader = LoadScreen(self)
|
||||
self._display = None
|
||||
self._mailcap_dict = mailcap.getcaps()
|
||||
self._term = os.environ['TERM']
|
||||
self._term = os.environ.get('TERM')
|
||||
|
||||
# This is a hack, the MIME parsers should be stateless
|
||||
# but we need to load the imgur credentials from the config
|
||||
|
||||
Reference in New Issue
Block a user