diff --git a/gcexport3.py b/gcexport3.py index 669958c..f9ca486 100755 --- a/gcexport3.py +++ b/gcexport3.py @@ -505,7 +505,7 @@ def http_req(url, post=None, headers=None): csv_record += ( empty_record - if "activityName" not in a + if "activityName" not in a or a["activityName"] is None else '"' + a["activityName"].replace('"', '""') + '",' )