Added @mvattr command as per MUX (Issue 25). Cleaned up @set to give better feedback. Some minor cleanups.

This commit is contained in:
Griatch 2009-08-29 17:41:00 +00:00
parent 5a3d901b5c
commit bd2f7a845c
7 changed files with 111 additions and 39 deletions

View file

@ -36,10 +36,10 @@ class EvenniaService(service.Service):
try:
# If this fails, this is an empty DB that needs populating.
ConfigValue.objects.get_configvalue('game_firstrun')
except ConfigValue.DoesNotExist:
except ConfigValue.DoesNotExist:
print ' Game started for the first time, setting defaults.'
initial_setup.handle_setup()
self.start_time = time.time()
print ' %s started on port(s):' % (ConfigValue.objects.get_configvalue('site_name'),)