main: Enumerate profiles separated with ' ' in log

This commit is contained in:
Alexander Graf 2018-05-02 17:27:46 +02:00
parent a3a09e1952
commit e7decba5ee

View File

@ -137,7 +137,7 @@ def _main(instaloader: Instaloader, targetlist: List[str],
else: else:
profiles.add(target) profiles.add(target)
if len(profiles) > 1: if len(profiles) > 1:
instaloader.context.log("Downloading {} profiles: {}".format(len(profiles), ','.join(profiles))) instaloader.context.log("Downloading {} profiles: {}".format(len(profiles), ' '.join(profiles)))
# Iterate through profiles list and download them # Iterate through profiles list and download them
for target in profiles: for target in profiles:
with instaloader.context.error_catcher(target): with instaloader.context.error_catcher(target):