From 3b9d45936cfcb7d5ad0707f34ba529731fc0ab8b Mon Sep 17 00:00:00 2001 From: Orakaro Date: Sun, 3 Aug 2014 23:08:04 +0900 Subject: [PATCH] delete unused --- rainbowstream/rainbow.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 6077347..0915e80 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -157,7 +157,6 @@ def init(args): files = os.listdir(os.path.dirname(__file__) + '/colorset') themes = [f.split('.')[0] for f in files if f.split('.')[-1] == 'json'] g['themes'] = themes - g['prev_theme'] = c['THEME'] # Semaphore init c['lock'] = False c['pause'] = False @@ -1607,7 +1606,6 @@ def listen(): read_history() reset() while True: - # Prompt redraw is needed when user is typing # raw_input if g['prefix']: line = raw_input(g['decorated_name'](c['PREFIX'])) @@ -1618,7 +1616,6 @@ def listen(): except: cmd = '' g['cmd'] = cmd - # Prompt redraw not need when raw_input done try: # Lock the semaphore c['lock'] = True -- 2.25.1