Update naming scheme in search for the sake of the API.

This commit is contained in:
Griatch 2017-01-14 22:34:39 +01:00
parent 506c5c6d39
commit b46bc9b2aa

View file

@ -236,7 +236,6 @@ def search_object_by_tag(key=None, category=None):
"""
return ObjectDB.objects.get_by_tag(key=key, category=category)
search_tag = search_object_by_tag # this is the most common case
search_object_by_tag = search_tag
def search_player_tag(key=None, category=None):
"""
Find player based on tag or category.