diff --git a/src/twitter/utils.py b/src/twitter/utils.py index 04581600..f8199764 100644 --- a/src/twitter/utils.py +++ b/src/twitter/utils.py @@ -68,10 +68,6 @@ def is_audio(tweet,force=False): except: log.exception("Exception while executing is_audio Codeofdusk algorithm.") tweet['is_audio']=False - if len(tweet["entities"]["hashtags"]) > 0: - for i in tweet["entities"]["hashtags"]: - if i["text"] == "audio": - return True return False def is_geocoded(tweet): diff --git a/src/wxUI/dialogs/configuration.py b/src/wxUI/dialogs/configuration.py index df2422a0..a4fc7174 100644 --- a/src/wxUI/dialogs/configuration.py +++ b/src/wxUI/dialogs/configuration.py @@ -30,7 +30,7 @@ class general(wx.Panel, baseDialog.BaseWXDialog): self.hide_gui = wx.CheckBox(self, -1, _(u"Hide GUI on launch")) sizer.Add(self.hide_gui, 0, wx.ALL, 5) self.SetSizer(sizer) - self.use_slow_audio_algo= wx.CheckBox(self, -1, _(U"Use slow audio tweet detection algorithm (improves audio tweet detection accuracy at the cost of performance))")) + self.use_slow_audio_algo= wx.CheckBox(self, -1, _(U"Use slow audio tweet detection algorithm (improves audio tweet detection accuracy at the cost of performance)")) sizer.Add(self.use_slow_audio_algo, 0, wx.ALL, 5) class proxy(wx.Panel, baseDialog.BaseWXDialog): diff --git a/src/wxUI/dialogs/urlList.py b/src/wxUI/dialogs/urlList.py index 7a02008e..8e9f1aff 100644 --- a/src/wxUI/dialogs/urlList.py +++ b/src/wxUI/dialogs/urlList.py @@ -3,7 +3,7 @@ import wx class urlList(wx.Dialog): def __init__(self): - super(urlList, self).__init__(parent=None, title=_(u"Select an URL")) + super(urlList, self).__init__(parent=None, title=_(u"Select URL")) panel = wx.Panel(self) self.lista = wx.ListBox(panel, -1) self.lista.SetFocus()