Store the SVGs in the runtime directory
No need to pile these into the data directory.
This commit is contained in:
parent
2f3094d3db
commit
651d9d87e4
|
@ -19,7 +19,7 @@ import xdg.BaseDirectory
|
|||
import svgwrite
|
||||
import os
|
||||
|
||||
DATA_PATH = os.path.join(xdg.BaseDirectory.xdg_data_home, 'tuhigui')
|
||||
DATA_PATH = os.path.join(xdg.BaseDirectory.get_runtime_dir(), 'tuhigui')
|
||||
|
||||
|
||||
class JsonSvg(GObject.Object):
|
||||
|
|
Loading…
Reference in New Issue