1
0

fixed typos and errors

- two typos with importing code
- a few documentation typos
This commit is contained in:
Benjamin Mako Hill 2021-12-08 14:56:45 +09:00
parent c085be83a7
commit b1361799e8
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@
import re
import sqlite3
from configparser ConfigParser
from configparser import ConfigParser
config = ConfigParser()
config.read('.taguette_gdocs')

View File

@ -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')