ThirdParty/CharDet/chardet/mbcsgroupprober.py

changeset 5714
90c57b50600f
parent 3537
7662053c3906
diff -r 6762afd9f963 -r 90c57b50600f ThirdParty/CharDet/chardet/mbcsgroupprober.py
--- a/ThirdParty/CharDet/chardet/mbcsgroupprober.py	Tue Apr 25 18:36:38 2017 +0200
+++ b/ThirdParty/CharDet/chardet/mbcsgroupprober.py	Tue Apr 25 18:40:46 2017 +0200
@@ -39,9 +39,9 @@
 
 
 class MBCSGroupProber(CharSetGroupProber):
-    def __init__(self):
-        CharSetGroupProber.__init__(self)
-        self._mProbers = [
+    def __init__(self, lang_filter=None):
+        super(MBCSGroupProber, self).__init__(lang_filter=lang_filter)
+        self.probers = [
             UTF8Prober(),
             SJISProber(),
             EUCJPProber(),

eric ide

mercurial