correctly remove the old .weboob directory

This commit is contained in:
Romain Bignon 2012-01-27 17:41:11 +01:00
commit 7d3a717722

View file

@ -73,7 +73,7 @@ class Weboob(object):
else:
dest = xdg_config_home
shutil.move(os.path.join(old_workdir, f), dest)
os.unlink(old_workdir)
shutil.rmtree(old_workdir)
workdir = xdg_config_home
datadir = xdg_data_home