Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Add offset_path option to parse_mail_log mgmt cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
pajowu committed Dec 20, 2022
1 parent efebd96 commit 2540a01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions froide/helper/management/commands/parse_mail_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ class Command(BaseCommand):
help = "Processes mail logs for deliveries"

def add_arguments(self, parser):
parser.add_argument("log_path", default=None)
parser.add_argument("log_path")
parser.add_argument("offset_path")

def handle(self, *args, **options):
translation.activate(settings.LANGUAGE_CODE)
check_delivery_from_log(options["log_path"])
check_delivery_from_log(str(options["log_path"]), str(options["offset_path"]))

0 comments on commit 2540a01

Please sign in to comment.