mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-13 07:55:05 +02:00
update examples
This commit is contained in:
parent
c800d307db
commit
9ad176c3ca
2 changed files with 24 additions and 9 deletions
|
|
@ -23,13 +23,17 @@ def main() -> None:
|
|||
pferd = Pferd(Path(__file__).parent, test_run=args.test_run)
|
||||
pferd.enable_logging()
|
||||
|
||||
# Synchronize the personal desktop into the "ILIAS" directory.
|
||||
# It saves the cookies, so you only need to log in again when the ILIAS cookies expire.
|
||||
pferd.ilias_kit_personal_desktop(
|
||||
ilias = pferd.ilias_kit(cookies="ilias_cookies.txt")
|
||||
# Synchronize the personal desktop into the "ILIAS" directory.
|
||||
|
||||
pferd.add_ilias_personal_desktop(
|
||||
ilias,
|
||||
"ILIAS",
|
||||
cookies="ilias_cookies.txt",
|
||||
)
|
||||
|
||||
pferd.syncronize_ilias(ilias)
|
||||
|
||||
# Prints a summary listing all new, modified or deleted files
|
||||
pferd.print_summary()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue