Format everything to pep8 guidelines

This commit is contained in:
Dabo Ross 2013-11-12 07:06:06 +01:00
parent cd4b65de3d
commit 99fe34a0b1
33 changed files with 142 additions and 107 deletions

View file

@ -1,6 +1,7 @@
# Plugin by Lukeroge
from util import hook, text, textgen
import json, os
import json
import os
GEN_DIR = "./plugins/data/name_files/"
@ -9,7 +10,7 @@ GEN_DIR = "./plugins/data/name_files/"
def get_generator(_json):
data = json.loads(_json)
return textgen.TextGenerator(data["templates"],
data["parts"], default_templates = data["default_templates"])
data["parts"], default_templates=data["default_templates"])
@hook.command(autohelp=False)