Browse Source

Bugfix for Python 2.6.

tags/v0.2
Ben Kurtovic 11 years ago
parent
commit
bca09e1687
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mwparserfromhell/compat.py

+ 1
- 1
mwparserfromhell/compat.py View File

@@ -10,7 +10,7 @@ types are meant to be imported directly from within the parser's modules.
import sys
py3k = sys.version_info.major == 3
py3k = sys.version_info[0] == 3
if py3k:
bytes = bytes


Loading…
Cancel
Save