[preview] Dont use deprecated way to get path

This commit is contained in:
Philipp Hörist
2018-04-21 16:30:08 +02:00
parent dc6ef8019f
commit e6c1fee17c

View File

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