Code cleanup
This commit is contained in:
1 parent
3c03e400f0
commit
799299c7cc
214 files changed
+497
-324
No files matched your search
@@ -1,5 +1,6 @@
|
||||
from .main import QualityPlugin
|
||||
|
||||
|
||||
def start():
|
||||
return QualityPlugin()
|
||||
|
||||
|
||||
@@ -133,10 +133,10 @@ class QualityPlugin(Plugin):
|
||||
|
||||
# Create single quality profile
|
||||
prof = db.query(Profile).filter(
|
||||
Profile.core == True
|
||||
).filter(
|
||||
Profile.types.any(quality = qual)
|
||||
).all()
|
||||
Profile.core == True
|
||||
).filter(
|
||||
Profile.types.any(quality = qual)
|
||||
).all()
|
||||
|
||||
if not prof:
|
||||
log.info('Creating profile: %s', q.get('label'))
|
||||
|
||||
Reference in new issue
Block a user