Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/disco.py')
-rw-r--r--plugins/disco.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/disco.py b/plugins/disco.py
index e7edc05..352445f 100644
--- a/plugins/disco.py
+++ b/plugins/disco.py
@@ -22,7 +22,7 @@
# --------------------------------------------------------------------------- #
whereis_answers = {}
-whereis_regx = re.compile('<item .*?name=[\'"](.*?)[\'"]',re.S+re.U+re.I)
+whereis_regx = re.compile('<item .*?name=[\'"](.*?)[\'"]',re.S|re.I|re.U)
whereis_lock = None
disco_excl = []
@@ -731,7 +731,7 @@ def disco_exclude_update():
def disco_validate(item):
for c in disco_excl:
- if re.findall(c,' %s ' % item,re.I+re.S+re.U): return None
+ if re.findall(c,' %s ' % item,re.S|re.I|re.U): return None
return item
def smart_sort(item):