Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota002 committed Jan 31, 2024
1 parent df2cc95 commit dc35d40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gcn_email/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import logging
import os
import json
import sys

import boto3
from boto3.dynamodb.conditions import Key
Expand Down Expand Up @@ -89,7 +88,7 @@ def subscribe_to_topics(consumer: Consumer):
# This may need to be updated if new topics have a format different than
# 'gcn.classic.[text | voevent | binary].[topic]'
topics = [
topic for topic in consumer.list_topics().topics
topic for topic in consumer.list_topics().topics
if topic.startswith('gcn.')]
log.info('Subscribing to topics: %r', topics)
consumer.subscribe(topics)
Expand Down

0 comments on commit dc35d40

Please sign in to comment.