Fix type errors in example_config

This commit is contained in:
I-Al-Istannen 2020-04-23 12:35:58 +02:00
parent bef210ae77
commit 3a57430893
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ __pycache__/
.tmp/ .tmp/
.env .env
.vscode .vscode
ilias_cookies.txt

View File

@ -3,11 +3,11 @@ from pathlib import Path
from PFERD import Pferd, enable_logging from PFERD import Pferd, enable_logging
def main(): def main() -> None:
enable_logging() enable_logging()
pferd = Pferd(Path(__file__).parent) pferd = Pferd(Path(__file__).parent)
pferd.ilias_kit("DB", "1101554", cookies="ilias_cookies.txt") pferd.ilias_kit(Path("DB"), "1101554", cookies=Path("ilias_cookies.txt"))
if __name__ == "__main__": if __name__ == "__main__":