[enh] allow to customize gm quality in root settings
This commit is contained in:
parent
cecc95ea6a
commit
a3a1451a5c
@ -144,6 +144,10 @@ def main():
|
|||||||
global DEFAULT_GM_AUTOORIENT
|
global DEFAULT_GM_AUTOORIENT
|
||||||
DEFAULT_GM_AUTOORIENT = settings.get("auto-orient")
|
DEFAULT_GM_AUTOORIENT = settings.get("auto-orient")
|
||||||
|
|
||||||
|
if settings.get("quality"):
|
||||||
|
global DEFAULT_GM_QUALITY
|
||||||
|
DEFAULT_GM_QUALITY = settings.get("quality")
|
||||||
|
|
||||||
front_page_galleries_cover = []
|
front_page_galleries_cover = []
|
||||||
|
|
||||||
dirs = filter(lambda x: x not in (".", "..") and os.path.isdir(x) and os.path.exists(os.path.join(os.getcwd(), x, "settings.yaml")), os.listdir(os.getcwd()))
|
dirs = filter(lambda x: x not in (".", "..") and os.path.isdir(x) and os.path.exists(os.path.join(os.getcwd(), x, "settings.yaml")), os.listdir(os.getcwd()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user