Skip to content

Commit 36306a7

Browse files
committed
fixed open_by_key
1 parent 8dc8c4f commit 36306a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_DHT_Driver/Adafruit_DHT_googledocs.ex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
try:
3333
worksheet = gc.open(spreadsheet).sheet1
3434
# Alternatively, open a spreadsheet using the spreadsheet's key
35-
# worksheet = gc.open_by_key('0BmgG6nO_6dprdS1MN3d3MkdPa142WFRrdnRRUWl1UFE')
35+
# worksheet = gc.open_by_key('0BmgG6nO_6dprdS1MN3d3MkdPa142WFRrdnRRUWl1UFE').sheet1
3636
except:
3737
print "Unable to open the spreadsheet. Check your filename: %s" % spreadsheet
3838
sys.exit()

0 commit comments

Comments
 (0)