projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
5caaacc
)
Merge pull request #156 from Azy8BsKXVko/fix_muting
author
Orakaro
<DTVD@users.noreply.github.com>
Tue, 9 Feb 2016 02:00:10 +0000
(11:00 +0900)
committer
Orakaro
<DTVD@users.noreply.github.com>
Tue, 9 Feb 2016 02:00:10 +0000
(11:00 +0900)
Fixed muting bug
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index
b1c6667
..
dd12abe
100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-1959,8
+1959,6
@@
def listen():
g['prefix'] = False
else:
g['prefix'] = True
- # Release the semaphore lock
- c['lock'] = False
except EOFError:
printNicely('')
except TwitterHTTPError as e:
@@
-1968,6
+1966,9
@@
def listen():
except Exception:
debug_option()
printNicely(red('OMG something is wrong with Twitter API right now.'))
+ finally:
+ # Release the semaphore lock
+ c['lock'] = False
def reconn_notice():