code cleanup and fixing tests

This commit is contained in:
Mike Fährmann
2017-06-02 09:10:58 +02:00
parent dfe82526ee
commit c921b4f32a
8 changed files with 16 additions and 16 deletions

View File

@@ -163,7 +163,7 @@ def map_subcategory(sc):
def category_key(extrlist):
key = extrlist[0].category.lower()
if len(extrlist) == 1 and extrlist[0].subcat == "individual Images":
if len(extrlist) == 1 and extrlist[0].__module__.endswith(".imagehosts"):
key = "zz" + key
return key