From b890b103eaf5678a3a2fb18c3d6e46e279745224 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 8 Feb 2016 04:56:38 +0100 Subject: [PATCH] [mod] autopep8 --- prosopopee/prosopopee.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 718724b..66eb19d 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -16,13 +16,16 @@ DEFAULT_GM_QUALITY = 75 CACHE_VERSION = 1 + class CacheKeys(object): - SIZE = "size" - GM_QUALITY = "gm_quality" + SIZE = "size" + GM_QUALITY = "gm_quality" + class ImageAttributes(object): - NAME = "name" - QUALITY = "quality" + NAME = "name" + QUALITY = "quality" + class Cache(object): cache_file_path = os.path.join(os.getcwd(), ".prosopopee_cache") @@ -63,6 +66,7 @@ class Cache(object): CACHE = Cache() + class TemplateFunctions(): def __init__(self, base_dir, target_dir, has_gm): self.base_dir = base_dir