[preview] Dont use deprecated way to get path
This commit is contained in:
@@ -139,9 +139,9 @@ class Base(object):
|
|||||||
self.textview = textview
|
self.textview = textview
|
||||||
self.handlers = {}
|
self.handlers = {}
|
||||||
|
|
||||||
self.directory = os.path.join(configpaths.gajimpaths['MY_DATA'],
|
self.directory = os.path.join(configpaths.get('MY_DATA'),
|
||||||
'downloads')
|
'downloads')
|
||||||
self.thumbpath = os.path.join(configpaths.gajimpaths['MY_CACHE'],
|
self.thumbpath = os.path.join(configpaths.get('MY_CACHE'),
|
||||||
'downloads.thumb')
|
'downloads.thumb')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user