mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Fix type errors in example_config
This commit is contained in:
parent
bef210ae77
commit
3a57430893
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__":
|
||||||
|
Loading…
Reference in New Issue
Block a user