From 29b1ca9a7e54385e571571ca5a866daa86dc1ddf Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sat, 31 Aug 2013 19:42:58 -0500 Subject: [PATCH] Attempted debuging for another Mac issue. --- calibre-plugin/ffdl_plugin.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/calibre-plugin/ffdl_plugin.py b/calibre-plugin/ffdl_plugin.py index 56b768f..87a95e4 100644 --- a/calibre-plugin/ffdl_plugin.py +++ b/calibre-plugin/ffdl_plugin.py @@ -1170,10 +1170,20 @@ class FanFictionDownLoaderPlugin(InterfaceAction): self.gui.library_view.sort_by_named_field('marked', True) self.gui.status_bar.show_message(_('Finished Adding/Updating %d books.'%(len(update_list) + len(add_list))), 3000) - + + 1+1 + print("all done, remove temp dir.") + + 1+1 + remove_dir(options['tdir']) + 1+1 + + print("removed temp dir.") + + if 'Count Pages' in self.gui.iactions and len(prefs['countpagesstats']) and len(all_ids): cp_plugin = self.gui.iactions['Count Pages'] cp_plugin.count_statistics(all_ids,prefs['countpagesstats'])