fixed typos and errors
- two typos with importing code - a few documentation typos
This commit is contained in:
parent
c085be83a7
commit
b1361799e8
@ -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
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
import re
|
||||
import sqlite3
|
||||
from configparser ConfigParser
|
||||
from configparser import ConfigParser
|
||||
|
||||
config = ConfigParser()
|
||||
config.read('.taguette_gdocs')
|
||||
|
||||
@ -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')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user