Only cleanup source folders

This commit is contained in:
Ruud
2014-06-03 22:25:17 +02:00
parent 2396fadf04
commit 4b236c6ed6
2 changed files with 21 additions and 2 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ class Core(Plugin):
return True
def cleanUpFolders(self):
self.deleteEmptyFolder(Env.get('app_dir'), show_error = False)
only_clean = ['couchpotato', 'libs', 'init']
self.deleteEmptyFolder(Env.get('app_dir'), show_error = False, only_clean = only_clean)
def available(self, **kwargs):
return {