From 101e2f380e3fdac727947b2c05be99201ed77139 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 19 Aug 2019 13:40:58 +1000 Subject: [PATCH] gui: store the cached SVGs in $XDG_CACHE_DIR instead This is transient data, they're constantly regenerated. Let's store them as such. Signed-off-by: Peter Hutterer --- tuhi/gui/svg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuhi/gui/svg.py b/tuhi/gui/svg.py index e829448..f8b3a68 100644 --- a/tuhi/gui/svg.py +++ b/tuhi/gui/svg.py @@ -18,7 +18,7 @@ import svgwrite import os from pathlib import Path -DATA_PATH = Path(xdg.BaseDirectory.xdg_data_home, 'tuhi', 'svg') +DATA_PATH = Path(xdg.BaseDirectory.xdg_cache_home, 'tuhi', 'svg') class JsonSvg(GObject.Object):