X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=turbot%2Fpuzzle.py;h=08e86218738bbfba6cdeff598ded4acdfb758cec;hb=5e7ee7c20f71996cedd04586d7139250c6704c0d;hp=e1e1bc2c6ed683fa8fe92962e4c476d59c433acf;hpb=c09a05591d2224c23dab510a94d4a0fc787aadc8;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