From 08515ebfa2a8aef29f218c90dfeaddb8011df394 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 12 Jul 2016 21:10:48 +0200 Subject: [PATCH] Remove extraneous newlines Upps, forgot that I was programming Python... --- instagram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instagram.py b/instagram.py index 7b1b966..44b4f1f 100755 --- a/instagram.py +++ b/instagram.py @@ -283,9 +283,9 @@ def main(): [0,0] if args.no_sleep else [0.25,2], args.quiet) except (ProfileNotExistsException, ProfileHasNoPicsException) as err: failedtargets.append(target) - print("%s\n" % err, file=sys.stderr) + print("%s" % err, file=sys.stderr) if len(args.targets) > 1 and len(failedtargets) > 0: - print("Errors occured (see above) while downloading profiles: %s\n" % + print("Errors occured (see above) while downloading profiles: %s" % ", ".join(failedtargets), file=sys.stderr) if __name__ == "__main__":