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