mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-06 20:02:30 -04:00
Fixed #36.
This commit is contained in:
parent
73a069dbe2
commit
0b0da44020
@ -47,8 +47,13 @@ class sessionManagerController(object):
|
|||||||
if config_test["twitter"]["user_key"] != "" and config_test["twitter"]["user_secret"] != "":
|
if config_test["twitter"]["user_key"] != "" and config_test["twitter"]["user_secret"] != "":
|
||||||
sessionsList.append(name)
|
sessionsList.append(name)
|
||||||
self.sessions.append(i)
|
self.sessions.append(i)
|
||||||
# else:
|
else:
|
||||||
# log.debug("Ignoring session %s" % (i,))
|
try:
|
||||||
|
log.debug("Deleting session %s" % (i,))
|
||||||
|
shutil.rmtree(paths.config_path(i))
|
||||||
|
except:
|
||||||
|
output.speak("An exception was raised while attempting to clean malformed session data. See the error log for details. If this message persists, contact the developers.",True)
|
||||||
|
os.exception("Exception thrown while removing malformed session")
|
||||||
self.view.fill_list(sessionsList)
|
self.view.fill_list(sessionsList)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user