# built documents.
#
# The short X.Y version.
-version = '1.0.1'
+version = '1.0.2'
# The full version, including alpha/beta/rc tags.
-release = '1.0.1'
+release = '1.0.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
g['themes'] = themes
g['pause'] = False
g['message_threads'] = {}
- # Events
- g['events'] = []
# Startup cmd
g['cmd'] = ''
# Debug option default = True
g['debug'] = True
g['traceback'] = []
- # Retweet of mine events
+ # Events
c['events'] = []
# Semaphore init
c['lock'] = False
"""
Show notifications
"""
- g['events'] = g['events'] + c['events']
- if g['events']:
- for e in g['events']:
+ if c['events']:
+ for e in c['events']:
print_event(e)
printNicely('')
else:
time.sleep(0.5)
print_message(tweet['direct_message'])
elif tweet.get('event'):
- g['events'].append(tweet)
+ c['events'].append(tweet)
print_event(tweet)
except TwitterHTTPError:
printNicely('')