]> git.cworth.org Git - turbot/commitdiff
Remove another stale file name from a comment
authorCarl Worth <cworth@cworth.org>
Wed, 30 Sep 2020 14:04:56 +0000 (07:04 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 30 Sep 2020 14:04:56 +0000 (07:04 -0700)
The documentation example used "token.pickle" but we are now using
".gsheets-token.pickle". Here we switch to just "token file" in the
code comment so the comment is immune to any renaming.

turbot/sheets.py

index 81dfec977fd22050eb84b15b57ae56fd46e5b740..7e6ddeaea20efccf690f6429c162579d6c307214 100644 (file)
@@ -20,7 +20,7 @@ def sheets_create(name):
     """
     global creds
 
-    # The file token.pickle stores token from last login/refresh
+    # The token file stores token from last login/refresh
     if not creds:
         if os.path.exists(TOKEN_FILE):
             with open(TOKEN_FILE, 'rb') as token: