[mod] autopep8
This commit is contained in:
parent
bd9d8f0cfd
commit
b890b103ea
@ -16,14 +16,17 @@ DEFAULT_GM_QUALITY = 75
|
|||||||
|
|
||||||
CACHE_VERSION = 1
|
CACHE_VERSION = 1
|
||||||
|
|
||||||
|
|
||||||
class CacheKeys(object):
|
class CacheKeys(object):
|
||||||
SIZE = "size"
|
SIZE = "size"
|
||||||
GM_QUALITY = "gm_quality"
|
GM_QUALITY = "gm_quality"
|
||||||
|
|
||||||
|
|
||||||
class ImageAttributes(object):
|
class ImageAttributes(object):
|
||||||
NAME = "name"
|
NAME = "name"
|
||||||
QUALITY = "quality"
|
QUALITY = "quality"
|
||||||
|
|
||||||
|
|
||||||
class Cache(object):
|
class Cache(object):
|
||||||
cache_file_path = os.path.join(os.getcwd(), ".prosopopee_cache")
|
cache_file_path = os.path.join(os.getcwd(), ".prosopopee_cache")
|
||||||
|
|
||||||
@ -63,6 +66,7 @@ class Cache(object):
|
|||||||
|
|
||||||
CACHE = Cache()
|
CACHE = Cache()
|
||||||
|
|
||||||
|
|
||||||
class TemplateFunctions():
|
class TemplateFunctions():
|
||||||
def __init__(self, base_dir, target_dir, has_gm):
|
def __init__(self, base_dir, target_dir, has_gm):
|
||||||
self.base_dir = base_dir
|
self.base_dir = base_dir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user