Fix example in docstring of TagCategoryProperty
This commit is contained in:
parent
2b7af748f9
commit
143a6d6c01
1 changed files with 1 additions and 2 deletions
|
|
@ -13,7 +13,6 @@ from collections import defaultdict
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
from evennia.locks.lockfuncs import perm as perm_lockfunc
|
from evennia.locks.lockfuncs import perm as perm_lockfunc
|
||||||
from evennia.utils.utils import make_iter, to_str
|
from evennia.utils.utils import make_iter, to_str
|
||||||
|
|
||||||
|
|
@ -205,7 +204,7 @@ class TagCategoryProperty:
|
||||||
::
|
::
|
||||||
|
|
||||||
class RogueCharacter(DefaultCharacter):
|
class RogueCharacter(DefaultCharacter):
|
||||||
guild = TagProperty("thieves_guild", "merchant_guild")
|
guild = TagCategoryProperty("thieves_guild", "merchant_guild")
|
||||||
|
|
||||||
"""
|
"""
|
||||||
self._category = ""
|
self._category = ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue