Scanner, Downloaders, Providers
This commit is contained in:
1 parent
7837adec1d
commit
09fed4ca63
27 files changed
+855
-217
No files matched your search
@@ -22,6 +22,12 @@ def mergeDicts(a, b):
|
||||
current_dst[key] = current_src[key]
|
||||
return dst
|
||||
|
||||
def flattenList(l):
|
||||
if isinstance(l, list):
|
||||
return sum(map(flattenList, l))
|
||||
else:
|
||||
return l
|
||||
|
||||
def md5(text):
|
||||
return hashlib.md5(text).hexdigest()
|
||||
|
||||
|
||||
Reference in new issue
Block a user