Implement delete thumbnail entry

Implement delete cache_dir on database change
This commit is contained in:
Ozzie Isaacs
2022-03-16 20:31:25 +01:00
parent d9a83e0638
commit 06e8845641
4 changed files with 29 additions and 5 deletions
-1
View File
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from __future__ import division, print_function, unicode_literals
from . import logger
from .constants import CACHE_DIR
from os import makedirs, remove