From af5ec0b52efb50f5ea4fd8772200c17870a8d76e Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 3 May 2021 19:03:28 -0700 Subject: [PATCH] Add argparse to eternalseptember. --- voussoirkit/eternalseptember.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/voussoirkit/eternalseptember.py b/voussoirkit/eternalseptember.py index 77e152f..9139185 100644 --- a/voussoirkit/eternalseptember.py +++ b/voussoirkit/eternalseptember.py @@ -1,5 +1,7 @@ +import argparse import datetime import re +import sys import time EPOCH = datetime.datetime( @@ -28,6 +30,7 @@ def strftime(format, tpl=None): r'%y': '93', } for (key, value) in changes.items(): + # This regex prevents us from ruining %%a which should be literal %a. key = r'(?