Mercurial > hg > mood-conductor
changeset 4:02b4c5e122e8
small config update
author | gyorgyf |
---|---|
date | Sun, 17 Jun 2012 00:00:01 +0100 |
parents | 0aa5f9e5c24e |
children | 1adf97ba90c8 9d2f4e6a3f36 |
files | mcserver/mcserver.py |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mcserver/mcserver.py Sat Jun 16 22:08:55 2012 +0100 +++ b/mcserver/mcserver.py Sun Jun 17 00:00:01 2012 +0100 @@ -20,19 +20,15 @@ options, args = op.parse_args() CONFIG_FILE = "mc%(USER)s.cfg" %options.__dict__ -print CONFIG_FILE - if not os.path.isfile(CONFIG_FILE) : - print >> sys.stderr, "Config file not found." + print >> sys.stderr, "Config file not found: %s" %CONFIG_FILE sys.exit(-1) class MoodConductor: - # @cp.expose def index(self): - return "Hello world!" - # index.exposed = True + return "" @cp.expose def mood(self,x,y):