mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-13 07:55:05 +02:00
Clean up minor things
- improve logging messages - allow more download file formats - strip file names
This commit is contained in:
parent
34da5d4d19
commit
068fe77dcf
4 changed files with 8 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue