Try to make bf2.py python 2.5 compatible
This commit is contained in:
@@ -38,7 +38,11 @@
|
|||||||
from mumo_module import MumoModule
|
from mumo_module import MumoModule
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
try:
|
||||||
import json
|
import json
|
||||||
|
except ImportError: # Fallback for python < 2.6
|
||||||
|
import simplejson as json
|
||||||
|
|
||||||
|
|
||||||
class bf2(MumoModule):
|
class bf2(MumoModule):
|
||||||
default_config = {'bf2':(
|
default_config = {'bf2':(
|
||||||
|
Reference in New Issue
Block a user