mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-08-13 11:02:41 +02:00
Fix type errors in example_config
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,3 +4,4 @@ __pycache__/
|
|||||||
.tmp/
|
.tmp/
|
||||||
.env
|
.env
|
||||||
.vscode
|
.vscode
|
||||||
|
ilias_cookies.txt
|
||||||
|
@@ -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__":
|
||||||
|
Reference in New Issue
Block a user