erroneous filename in error message

should be credentials.yaml and not credentials.txt
This commit is contained in:
Eliran Gonen 2020-11-29 06:32:00 +02:00 committed by GitHub
parent 4f54d8473d
commit f8eb40aa9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -792,7 +792,7 @@ def scraper(**kwargs):
cfg = yaml.safe_load(stream=ymlfile)
if ("password" not in cfg) or ("email" not in cfg):
print("Your email or password is missing. Kindly write them in credentials.txt")
print("Your email or password is missing. Kindly write them in credentials.yaml")
exit(1)
urls = [
facebook_https_prefix + facebook_link_body + get_item_id(line)