Skip to content

Commit

Permalink
fix: remove unnecessary staticmethod (#2147)
Browse files Browse the repository at this point in the history
  • Loading branch information
cquintana92 authored Jul 10, 2024
1 parent f05f01b commit ae9f47d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/mail_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def save_request_to_unsent_dir(self, prefix: str = "DeliveryFail"):
file_path = os.path.join(config.SAVE_UNSENT_DIR, file_name)
self.save_request_to_file(file_path)

@staticmethod
def save_request_to_failed_dir(self, prefix: str = "DeliveryRetryFail"):
file_name = (
f"{prefix}-{int(time.time())}-{uuid.uuid4()}.{SendRequest.SAVE_EXTENSION}"
Expand Down

0 comments on commit ae9f47d

Please sign in to comment.