]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Fix support for walkup_support comment.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 13 Mar 2022 16:31:53 +0000 (17:31 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 13 Mar 2022 16:31:53 +0000 (17:31 +0100)
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:
                     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()
                         walkup_supports.append(walkup_support)
                     sledrun_json['walkup_supports'] = walkup_supports
             _walkup_support()