Skip to content

Commit

Permalink
cleanup old repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
mx3L committed May 13, 2020
1 parent e573fab commit e4a857f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/plugin/src/archivczsk.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ def load_repositories():
diff = time.clock() - start
log.info("load repositories in {0}".format(diff))

for repo in ['xbmc_doplnky', 'custom', 'dmd_czech']:
repoPath = os.path.join(settings.PLUGIN_PATH, 'resources', 'repositories', repo)
if os.path.isdir(repoPath):
shutil.rmtree(repoPath, True)

@staticmethod
def start_ydl():
from Plugins.Extensions.archivCZSK.engine.ydl import ydl
Expand Down

0 comments on commit e4a857f

Please sign in to comment.