mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
Debugged and added @cpattr and @mvattr. Added unittest cases for all default commands for which they are suitable. Many small bug fixes as part of that.
This commit is contained in:
parent
7b43c4a608
commit
6f0d21802b
11 changed files with 328 additions and 155 deletions
|
|
@ -441,7 +441,7 @@ class TypedObject(SharedMemoryModel):
|
|||
def permissions_set(self, value):
|
||||
"Setter. Allows for self.name = value. Stores as a comma-separated string."
|
||||
if is_iter(value):
|
||||
value = ",".join([str(val).strip() for val in value])
|
||||
value = ",".join([utils.to_unicode(val).strip() for val in value])
|
||||
self.db_permissions = value
|
||||
self.save()
|
||||
#@permissions.deleter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue