mirror of
https://gitlab.crans.org/bde/nk20-scripts
synced 2024-12-25 17:02:23 +00:00
🐛 Default comment is an empty string, not None
This commit is contained in:
parent
18be620b60
commit
1b7014f369
@ -168,7 +168,7 @@ class Command(BaseCommand):
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument("--human", "-H", action="store_true", help="Save human readable page")
|
||||
parser.add_argument("--raw", "-r", action="store_true", help="Save raw page, for the calendar")
|
||||
parser.add_argument("--comment", "-c", action="store", type=str, help="Comment of the modification")
|
||||
parser.add_argument("--comment", "-c", action="store", type=str, default="", help="Comment of the modification")
|
||||
parser.add_argument("--debug", "-d", action="store_true", help="Don't commit to the wiki, render in stdout")
|
||||
|
||||
def handle(self, *args, **options):
|
||||
|
Loading…
Reference in New Issue
Block a user