Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Feb 11, 2024
1 parent 0368cc2 commit 6101403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gmailsorter/base/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
def email_date_converter(email_date):
if not isinstance(email_date, str):
return None
if email_date[:1] == '\xa0':
email_date = email_date.replace('\xa0', "")
if email_date[:1] == "\xa0":
email_date = email_date.replace("\xa0", "")
if email_date.count(",") >= 2:
email_date = ", ".join(email_date.split(", ")[-2:])
if email_date[-3:-2].isalpha():
Expand Down

0 comments on commit 6101403

Please sign in to comment.