Remove mutable objects from function args

This commit is contained in:
Ruud
2013-09-02 22:44:44 +02:00
parent 7fd14e0283
commit 779c7d2942
39 changed files with 147 additions and 65 deletions
+2 -1
View File
@@ -152,7 +152,8 @@ class QualityPlugin(Plugin):
return True
def guess(self, files, extra = {}):
def guess(self, files, extra = None):
if not extra: extra = {}
# Create hash for cache
hash = md5(str([f.replace('.' + getExt(f), '') for f in files]))