def _get_download_directory(self): return self.directory or Settings.get_setting("downloadDirectory")