Skip to content

Commit

Permalink
Added Debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Pdzly committed Sep 18, 2023
1 parent c6cd374 commit ea48d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fediseer_alerts/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def start():

if getenv('SLACK_WEBHOOK_URL'):
webhook = WebhookClient(getenv('SLACK_WEBHOOK_URL'), timeout=60)

db = MongoClient(getenv('MONGO_URI'))['fediseer-notifications']['censures']
print(getenv('MONGO_URI'))
db = MongoClient(host=getenv('MONGO_URI'))['fediseer-notifications']['censures']
logging.info("Starting...")
while True:
censures = get_censures()
Expand Down

0 comments on commit ea48d9d

Please sign in to comment.