Clean up minor things

- improve logging messages
- allow more download file formats
- strip file names
This commit is contained in:
Joscha
2018-11-26 17:00:17 +00:00
parent 34da5d4d19
commit 068fe77dcf
4 changed files with 8 additions and 10 deletions

View File

@ -28,7 +28,7 @@ class FfM:
self._session = aiohttp.ClientSession()
async def synchronize(self, urlpart, to_dir, transform=lambda x: x):
logging.info(f"Synchronizing {urlpart} to {to_dir} using the FfM synchronizer.")
logging.info(f" Synchronizing {urlpart} to {to_dir} using the FfM synchronizer.")
sync_path = pathlib.Path(self.base_path, to_dir)
orga = Organizer(self.base_path, sync_path)