X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=turbot%2Fpuzzle.py;fp=turbot%2Fpuzzle.py;h=08e86218738bbfba6cdeff598ded4acdfb758cec;hb=4778050b2bde391905712345b88f77616f4cc378;hp=e1e1bc2c6ed683fa8fe92962e4c476d59c433acf;hpb=4bca55ecc12eb56357e5a5279fece0adced30430;p=turbot diff --git a/turbot/puzzle.py b/turbot/puzzle.py index e1e1bc2..08e8621 100644 --- a/turbot/puzzle.py +++ b/turbot/puzzle.py @@ -247,7 +247,7 @@ def puzzle_channel_name(puzzle): round = '-' + puzzle_id_from_name(puzzle['rounds'][0]) meta = '' - if puzzle['type'] == 'meta': + if puzzle.get('type', 'plain') == 'meta': meta = '-m' # Note: We don't use puzzle['puzzle_id'] here because we're keeping