Also add personal_desktop to download summary

This commit is contained in:
I-Al-Istannen 2020-07-15 22:47:28 +02:00
parent 5c4c785e60
commit 77874b432b

View File

@ -203,7 +203,8 @@ class Pferd(Location):
# This authenticator only works with the KIT ilias instance. # This authenticator only works with the KIT ilias instance.
authenticator = KitShibbolethAuthenticator(username=username, password=password) authenticator = KitShibbolethAuthenticator(username=username, password=password)
PRETTY.starting_synchronizer(target, "ILIAS", "Personal Desktop") PRETTY.starting_synchronizer(target, "ILIAS", "Personal Desktop")
return self._ilias(
organizer = self._ilias(
target=target, target=target,
base_url="https://ilias.studium.kit.edu/", base_url="https://ilias.studium.kit.edu/",
crawl_function=lambda crawler: crawler.crawl_personal_desktop(), crawl_function=lambda crawler: crawler.crawl_personal_desktop(),
@ -215,6 +216,10 @@ class Pferd(Location):
clean=clean, clean=clean,
) )
self._download_summary.merge(organizer.download_summary)
return organizer
@swallow_and_print_errors @swallow_and_print_errors
def diva_kit( def diva_kit(
self, self,