Oops..
authorMagnus Hagander <magnus@hagander.net>
Sun, 1 Jul 2012 18:17:26 +0000 (20:17 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 1 Jul 2012 18:17:26 +0000 (20:17 +0200)
loader/lib/parser.py

index da1936f5675f5f9b7d821a70cc2a7a79fee2f977..c70494559ee0de4a9f38fcde5f848ebdab9b6e77 100644 (file)
@@ -82,12 +82,12 @@ class ArchivesParser(object):
                        return 'cp850'
                if lcharset == 'koi8r':
                        return 'koi8-r'
-               if lcharset = 'cp 1252':
+               if lcharset == 'cp 1252':
                        return 'cp1252'
-               if lcharset = 'iso-8859-1,iso-8859-2':
+               if lcharset == 'iso-8859-1,iso-8859-2':
                        # Why did this show up more than once?!
                        return 'iso-8859-1'
-               if lcharset = 'x-windows-949':
+               if lcharset == 'x-windows-949':
                        return 'ms949'
                return charset