mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-19 00:40:42 -06:00
Removed some unneeded log messages
This commit is contained in:
parent
7a2e51ef03
commit
2cad567537
@ -77,7 +77,6 @@ class soundSystem(object):
|
|||||||
self.check_soundpack()
|
self.check_soundpack()
|
||||||
|
|
||||||
def clear_list(self):
|
def clear_list(self):
|
||||||
log.debug("Cleaning sounds... Total sounds found: %i" % len(self.files))
|
|
||||||
if len(self.files) == 0: return
|
if len(self.files) == 0: return
|
||||||
try:
|
try:
|
||||||
for i in range(0, len(self.files)):
|
for i in range(0, len(self.files)):
|
||||||
@ -86,7 +85,6 @@ class soundSystem(object):
|
|||||||
self.files.pop(i)
|
self.files.pop(i)
|
||||||
except IndexError:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
log.debug("Files used now: %i" % len(self.files))
|
|
||||||
|
|
||||||
def play(self, sound, argument=False):
|
def play(self, sound, argument=False):
|
||||||
if self.soundpack_OK == False: return
|
if self.soundpack_OK == False: return
|
||||||
|
@ -60,8 +60,6 @@ def compose_tweet(tweet, db, relative_times):
|
|||||||
urls = utils.find_urls_in_text(text)
|
urls = utils.find_urls_in_text(text)
|
||||||
for url in range(0, len(urls)):
|
for url in range(0, len(urls)):
|
||||||
try:
|
try:
|
||||||
log.error(urls[url])
|
|
||||||
log.error(tweet["entities"]["urls"][url])
|
|
||||||
text = text.replace(urls[url], tweet["entities"]["urls"][url]["expanded_url"])
|
text = text.replace(urls[url], tweet["entities"]["urls"][url]["expanded_url"])
|
||||||
except: pass
|
except: pass
|
||||||
if config.app['app-settings']['handle_longtweets']: pass
|
if config.app['app-settings']['handle_longtweets']: pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user