From: Benjamin Mako Hill Date: Wed, 8 Dec 2021 05:56:45 +0000 (+0900) Subject: fixed typos and errors X-Git-Url: https://code.communitydata.science/taguette_google_sheet_integration.git/commitdiff_plain/b1361799e8e89ab6c265658b2065a4c4e7e95d63 fixed typos and errors - two typos with importing code - a few documentation typos --- diff --git a/README.md b/README.md index 4974249..aff084c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ git update-index --assume-unchanged .taguette_gdocs I also create a directory called `taguette_backups` like: ``` -mkdir db_backups +mkdir taguette_backups ``` ## Step 1: Backing things up @@ -28,7 +28,7 @@ cp "taguette_backups/$BACKUP_FILE" ./taguette-working.sqlite3 ``` The first line shuts down Taguette. The second line just creates the backup -file name. The third and fourt lines will create a new backup file and copy the +file name. The third and fourth lines will create a new backup file and copy the backup file into the `./taguette-working.sqlite3`. ### Step 2a: Import from Google Sheets into the database diff --git a/taguette-export_tags_to_csv.py b/taguette-export_tags_to_csv.py index 2085e47..7ba5a91 100755 --- a/taguette-export_tags_to_csv.py +++ b/taguette-export_tags_to_csv.py @@ -2,7 +2,7 @@ import re import sqlite3 -from configparser ConfigParser +from configparser import ConfigParser config = ConfigParser() config.read('.taguette_gdocs') diff --git a/taguette-update_tags_from_sheet.py b/taguette-update_tags_from_sheet.py index 5c52991..9a19b40 100755 --- a/taguette-update_tags_from_sheet.py +++ b/taguette-update_tags_from_sheet.py @@ -3,7 +3,7 @@ import requests from csv import DictReader import sqlite3 -from configparser ConfigParser +from configparser import ConfigParser config = ConfigParser() config.read('.taguette_gdocs')