Some minor tweaks to remove some debug logging.

This commit is contained in:
Griatch 2013-12-09 09:18:55 +01:00
parent 81ce6a1827
commit f1e156a299
2 changed files with 3 additions and 2 deletions

View file

@ -25,7 +25,7 @@ class BodyFunctions(Script):
self.interval = 20 # seconds self.interval = 20 # seconds
#self.repeats = 5 # repeat only a certain number of times #self.repeats = 5 # repeat only a certain number of times
self.start_delay = True # wait self.interval until first call self.start_delay = True # wait self.interval until first call
self.persistent = True #self.persistent = True
def at_repeat(self): def at_repeat(self):
""" """

View file

@ -1,4 +1,5 @@
""" """
import sys
Building and world design commands Building and world design commands
@ -2138,7 +2139,7 @@ class CmdTag(MuxCommand):
if ":" in tag: if ":" in tag:
tag, category = [part.strip() for part in tag.split(":", 1)] tag, category = [part.strip() for part in tag.split(":", 1)]
search_category = "object_%s" % category search_category = "object_%s" % category
print "tag search:", tag, search_category #print "tag search:", tag, search_category
objs = search.search_tag(tag, category=search_category) objs = search.search_tag(tag, category=search_category)
nobjs = len(objs) nobjs = len(objs)
if nobjs > 0: if nobjs > 0: