Skip to content

Commit 14f6a88

Browse files
authored
fix collections cell bug
1 parent 2e2ddef commit 14f6a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

API/notebooks/How_to_use_IDC_APIs.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
"id": "AsmNpqYtyxl0"
357357
},
358358
"source": [
359-
"collections_req = requests.get('{}/collections'.format(idc_api_preamble))\n",
359+
"response = requests.get('{}/collections'.format(idc_api_preamble))\n",
360360
"# Check that there wasn't an error with the request\n",
361361
"if response.status_code != 200:\n",
362362
" # Print the error code and message if something went wrong\n",
@@ -372,7 +372,7 @@
372372
},
373373
"source": [
374374
"# Print the collections JSON text\n",
375-
"pretty(collections_req)"
375+
"pretty(response)"
376376
],
377377
"execution_count": null,
378378
"outputs": []

0 commit comments

Comments
 (0)