diff options
author | Fbenas <philbeansburton@gmail.com> | 2020-11-08 15:50:38 +0000 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2020-11-08 15:50:38 +0000 |
commit | 3275bac8b4b8edc66d58541e32946fe2dd29732a (patch) | |
tree | c4c86503f0b92db1a211e49454d24b6f8bb425ee | |
parent | 19ad795fdc6cf2d24e2a40f8d5ee0b3f406e4acd (diff) |
Fix encoding issue, add .gitignore and readme
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 5 | ||||
-rwxr-xr-x | wikiquery | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8eba6c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +src/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..f813425 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Installation + +Run `pip install --user -r requirements.txt` + +This will get the requirements defined in requirements.txt installed in a sub directory /src @@ -13,11 +13,11 @@ def stringify(o): if isinstance(o, list): output = [] for i, item in enumerate(o, 1): - output.append("%s: %s" % (i, item.encode("utf-8", "replace"))) + output.append("%s: %s" % (i, item)) return ' %s' % ', '.join(output) else: - return o.encode("utf-8", "replace") + return o; def display(o): print (stringify(o)) |