fixed email retrival and added restriction to api

This commit is contained in:
2025-08-17 21:52:45 +05:30
parent 1e69ced5da
commit be0aac52ee
2 changed files with 3 additions and 2 deletions

View File

@@ -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."""