diff --git a/url_image_preview/url_image_preview.py b/url_image_preview/url_image_preview.py index 9a48eaa..30aeea0 100644 --- a/url_image_preview/url_image_preview.py +++ b/url_image_preview/url_image_preview.py @@ -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: