mirror of
				https://gitlab.crans.org/bde/nk20-scripts
				synced 2025-10-30 22:59:52 +01:00 
			
		
		
		
	🐛 Default comment is an empty string, not None
This commit is contained in:
		| @@ -168,7 +168,7 @@ class Command(BaseCommand): | |||||||
|     def add_arguments(self, parser): |     def add_arguments(self, parser): | ||||||
|         parser.add_argument("--human", "-H", action="store_true", help="Save human readable page") |         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("--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") |         parser.add_argument("--debug", "-d", action="store_true", help="Don't commit to the wiki, render in stdout") | ||||||
|  |  | ||||||
|     def handle(self, *args, **options): |     def handle(self, *args, **options): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user