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 <peter.hutterer@who-t.net>
pull/163/head
Peter Hutterer 2019-08-19 13:40:58 +10:00
parent cc7ba1b365
commit 101e2f380e
1 changed files with 1 additions and 1 deletions

View File

@ -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):