Skip to content

Commit

Permalink
Merge pull request #4 from KGBTR/refactor/overhaul
Browse files Browse the repository at this point in the history
refactor: overhaul
  • Loading branch information
Asim-Tahir authored Jan 21, 2024
2 parents 36d6551 + 96e63af commit 22d6148
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions koyunotlatan/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

formatter = logging.Formatter(
fmt="%(asctime)s, (%(name)s:%(levelname)s) [%(filename)s:%(lineno)d]: %(message)s",
datefmt="%d-%b-%Y %H:%M:%S"
datefmt="%d-%m-%Y %H:%M:%S"
)

fmt_date: str = "%d-%b-%Y"
fmt_date: str = "%d-%m-%Y"
formatted_today: str = datetime.today().strftime(fmt_date)

# Create handlers
Expand Down
1 change: 1 addition & 0 deletions koyunotlatan/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ def reply_on_comment(self, id: str):
logger.info("Starting search %s:" %(searches.index(search)+1))
comments.append([])

# TODO: dynamize subreddit names
gen = api.search_comments(q=search, subreddit='KGBTR')
cache = []

Expand Down

0 comments on commit 22d6148

Please sign in to comment.