try to use readline if possible

This commit is contained in:
David Vierra 2010-11-13 08:08:11 -10:00
parent 69e1fc86c0
commit 968e9ba3c5

6
mce.py
View File

@ -11,7 +11,11 @@ import traceback
import shlex
import operator
from math import floor
try:
import readline
except:
pass
class UsageError(RuntimeError): pass
class BlockMatchError(RuntimeError): pass
class PlayerNotFound(RuntimeError): pass