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>
This commit is contained in:
parent
cc7ba1b365
commit
101e2f380e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue