mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 11:48:07 -06:00
Trending topic buffers are removed from configuration
This commit is contained in:
parent
bb1ffa9ff1
commit
8e92d97260
@ -77,7 +77,7 @@ class trendsPanel(wx.Panel):
|
|||||||
dlg = wx.MessageDialog(self, _(u"Do you really want to delete this buffer?"), _(u"Attention"), style=wx.ICON_QUESTION|wx.YES_NO)
|
dlg = wx.MessageDialog(self, _(u"Do you really want to delete this buffer?"), _(u"Attention"), style=wx.ICON_QUESTION|wx.YES_NO)
|
||||||
if dlg.ShowModal() == wx.ID_YES:
|
if dlg.ShowModal() == wx.ID_YES:
|
||||||
topics = config.main["other_buffers"]["trending_topic_buffers"]
|
topics = config.main["other_buffers"]["trending_topic_buffers"]
|
||||||
topic = self.name_buffer
|
topic = self.name_buffer[:-3]
|
||||||
log.info(u"Deleting %s's trending topics buffer" % topic)
|
log.info(u"Deleting %s's trending topics buffer" % topic)
|
||||||
if topic in topics:
|
if topic in topics:
|
||||||
topics.remove(topic)
|
topics.remove(topic)
|
||||||
|
@ -41,8 +41,8 @@ if hasattr(sys, 'frozen'):
|
|||||||
sys.stderr = open(paths.logs_path("stderr.log"), 'w')
|
sys.stderr = open(paths.logs_path("stderr.log"), 'w')
|
||||||
sys.stdout = open(paths.logs_path("stdout.log"), 'w')
|
sys.stdout = open(paths.logs_path("stdout.log"), 'w')
|
||||||
|
|
||||||
#app = wx.App()
|
app = wx.App()
|
||||||
app = wx.App(redirect=True, useBestVisual=True, filename=paths.logs_path('tracebacks.log'))
|
#app = wx.App(redirect=True, useBestVisual=True, filename=paths.logs_path('tracebacks.log'))
|
||||||
configured = False
|
configured = False
|
||||||
configs = []
|
configs = []
|
||||||
for i in os.listdir(paths.config_path()):
|
for i in os.listdir(paths.config_path()):
|
||||||
|
Loading…
Reference in New Issue
Block a user