mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Add a README to scripts/, indicating that these are not for general use.
This commit is contained in:
parent
4a9a4bfc62
commit
7d1f5ada12
3 changed files with 13 additions and 0 deletions
6
scripts/README
Normal file
6
scripts/README
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
This directory contains scripts that are (or were once) used to maintain the
|
||||||
|
database. Most of them will not work any more, since whatever they did was
|
||||||
|
already done. They're included here for reference, should something similar be
|
||||||
|
needed again.
|
||||||
|
|
||||||
|
Make sure you know what you are doing when running these.
|
|
@ -1,4 +1,8 @@
|
||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python2
|
||||||
|
"""
|
||||||
|
This is an unmaintained one-shot script, only included in the repo for
|
||||||
|
reference.
|
||||||
|
"""
|
||||||
|
|
||||||
from codecs import open
|
from codecs import open
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,9 @@ Creates autoincrement-style IDs when missing
|
||||||
Sets text language to 9 (en), except when it sets to 1 (jp)
|
Sets text language to 9 (en), except when it sets to 1 (jp)
|
||||||
|
|
||||||
And looks good doing it!
|
And looks good doing it!
|
||||||
|
|
||||||
|
This is an unmaintained one-shot script, only included in the repo for
|
||||||
|
reference.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
|
|
Loading…
Reference in a new issue