[omemo] Dont use deprecated way to get path

This commit is contained in:
Philipp Hörist
2018-04-21 16:32:57 +02:00
parent 7c785000cc
commit 16e776f405
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ except ImportError:
log.exception('ImportError')
ERROR = True
DIRECTORY = os.path.join(configpaths.gajimpaths['MY_DATA'], 'downloads')
DIRECTORY = os.path.join(configpaths.get('MY_DATA'), 'downloads')
try:
if not os.path.exists(DIRECTORY):