Commit 5b6a5bb0 authored by Ian Dennis Miller's avatar Ian Dennis Miller

use downloader logger from snapshot

parent 8a407502
Pipeline #256 passed with stage
in 14 seconds
......@@ -310,14 +310,14 @@ class Snapshot:
else:
if not secondary:
snapshot.load()
print("Skipping {0} because snapshot exists".format(screen_name))
downloader.logging.info("Skipping {0} because snapshot exists".format(screen_name))
# if secondary is false, do not spider recursively
if not secondary:
print("Spider connections from {} ".format(screen_name))
downloader.logging.info("Spider connections from {} ".format(screen_name))
for func in [snapshot.query.followers, snapshot.query.leaders]:
print(func)
downloader.logging.info(func)
screen_names = func(screen_name)
for sub_screen_name in screen_names:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment