diff --git a/.gitignore b/.gitignore index 37a0c5b..64bcb8d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ __pycache__/ credentials/ credentials.json *.key -emails.txt \ No newline at end of file +emails.txt +*.keys.txt \ No newline at end of file diff --git a/main.py b/main.py index 1446dd9..eec78b2 100644 --- a/main.py +++ b/main.py @@ -24,7 +24,7 @@ def load_emails_from_file(filename): print("Please create it and add one email address per line.") return [] with open(filename, "r") as f: - return [line.strip() for line in f if line.strip()] + return [line.strip() for line in f if line.strip() and not line.startswith("#")] def main(): """Main function to orchestrate API key creation."""