🐛 Default comment is an empty string, not None

This commit is contained in:
Yohann D'ANELLO 2020-08-06 12:31:38 +02:00
parent 18be620b60
commit 1b7014f369
1 changed files with 1 additions and 1 deletions

View File

@ -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):