From: justin melvin Date: Sat, 28 Nov 2020 00:18:10 +0000 (-0800) Subject: Quote parameters to HYPERLINK X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=dc43fb79c5f826d9f85a8078663c4047d7cb0622;hp=9882f6d613705bb0bc9cd8f82499ecfdfa96a56e;p=turbot Quote parameters to HYPERLINK --- diff --git a/turbot/sheets.py b/turbot/sheets.py index 0b2cb5e..047f793 100644 --- a/turbot/sheets.py +++ b/turbot/sheets.py @@ -61,7 +61,7 @@ def sheets_create_for_puzzle(turb, puzzle): insertDataOption='INSERT_ROWS', body={ 'range': 'A1:A2', - 'values': [['=HYPERLINK('+url_link+','+url_text+')'], ['=HYPERLINK('+channel_url_link+','+channel_url_text+')']] + 'values': [['=HYPERLINK("'+url_link+'","'+url_text+'")'], ['=HYPERLINK("'+channel_url_link+'","'+channel_url_text+'")']] }).execute() # Copy some sheets from the Template spreadsheet