if puzzle['status'] == 'solved':
topic += "SOLVED: `{}` ".format('`, `'.join(puzzle['solution']))
- topic += puzzle['name']
-
links = []
url = puzzle.get('url', None)
links.append("<{}|Sheet>".format(sheet_url))
if len(links):
- topic += "({})".format(', '.join(links))
+ topic += "({}) ".format(', '.join(links))
tags = puzzle.get('tags', [])
if tags:
if 'tags' in old_puzzle:
new_puzzle['tags'] = old_puzzle['tags'].copy()
+ if 'solution' in old_puzzle:
+ new_puzzle['solution'] = old_puzzle['solution'].copy()
+
return new_puzzle