]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/blobdiff - bots/sledrun_wikitext_to_json.py
Fix support for walkup_support comment.
[philipp/winterrodeln/wrpylib.git] / bots / sledrun_wikitext_to_json.py
index 27d3f688434f1dbcadeae20d22e83fb04234b374..d6e970fa8d80e7733abe5875bf0922da10050024 100644 (file)
@@ -163,7 +163,7 @@ class SledrunWikiTextToJsonBot(
                     for walkup_support_type, comment in walkup_support_rbb:
                         walkup_support = {'type': walkup_support_type}
                         if comment is not None:
-                            walkup_support['comment']: comment
+                            walkup_support['comment'] = comment
                         walkup_supports.append(walkup_support)
                     sledrun_json['walkup_supports'] = walkup_supports
             _walkup_support()