mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 15:35:05 +02:00
Allow specifying paths as strings in Pferd
This commit is contained in:
parent
4c0e3b493a
commit
4e7333b396
2 changed files with 6 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ A few utility bobs and bits.
|
|||
|
||||
import logging
|
||||
from pathlib import Path, PurePath
|
||||
from typing import Optional, Tuple
|
||||
from typing import Optional, Tuple, Union
|
||||
|
||||
import bs4
|
||||
import requests
|
||||
|
|
@ -123,7 +123,7 @@ class PrettyLogger:
|
|||
|
||||
def starting_synchronizer(
|
||||
self,
|
||||
target_directory: Path,
|
||||
target_directory: Union[Path, str],
|
||||
synchronizer_name: str,
|
||||
subject: Optional[str] = None,
|
||||
) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue