Adding some comments

This commit is contained in:
Michael Lazar
2017-07-23 02:13:24 -04:00
parent e388591b54
commit 578f03259b
3 changed files with 21 additions and 10 deletions

View File

@@ -61,8 +61,9 @@ class Terminal(object):
self._mailcap_dict = mailcap.getcaps()
self._term = os.environ['TERM']
# Hack to allow setting the Imgur OAuth cred in the config file
mime_parsers.ImgurApiMIMEParser.client_id = config['imgur_client_id']
# This is a hack, the MIME parsers should be stateless
# but we need to load the imgur credentials from the config
mime_parsers.ImgurApiMIMEParser.CLIENT_ID = config['imgur_client_id']
@property
def up_arrow(self):