From ef8436a22033287d4e5dae45d075d05a65a9956a Mon Sep 17 00:00:00 2001 From: Steve Baskauf Date: Thu, 10 Sep 2020 09:36:31 -0500 Subject: [PATCH] forgot to uncomment after testing --- vanderbot/vb6_upload_wikidata.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vanderbot/vb6_upload_wikidata.py b/vanderbot/vb6_upload_wikidata.py index dc9a1561..69d6f719 100644 --- a/vanderbot/vb6_upload_wikidata.py +++ b/vanderbot/vb6_upload_wikidata.py @@ -1172,7 +1172,7 @@ def attemptPost(apiUrl, parameters): parameterDictionary['data'] = json.dumps(dataStructure) print(json.dumps(dataStructure, indent = 2)) #print(parameterDictionary) - ''' + # don't try to write if there aren't any data to send if parameterDictionary['data'] == '{}': print('no data to write') @@ -1347,4 +1347,3 @@ def attemptPost(apiUrl, parameters): print() print('done') -''' \ No newline at end of file