Commit e6c1fee1 authored by Philipp Hörist's avatar Philipp Hörist

[preview] Dont use deprecated way to get path

parent dc6ef801
......@@ -139,9 +139,9 @@ class Base(object):
self.textview = textview
self.handlers = {}
self.directory = os.path.join(configpaths.gajimpaths['MY_DATA'],
self.directory = os.path.join(configpaths.get('MY_DATA'),
'downloads')
self.thumbpath = os.path.join(configpaths.gajimpaths['MY_CACHE'],
self.thumbpath = os.path.join(configpaths.get('MY_CACHE'),
'downloads.thumb')
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment