add def cw_warnings
parent
fdc51b5116
commit
0da11d14d6
|
@ -276,6 +276,11 @@ class User(Base):
|
|||
def cursormarsey(self):
|
||||
return session.get('cursormarsey', CURSORMARSEY_DEFAULT)
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def cw_warnings(self):
|
||||
return bool(session.get('cw_warnings', True))
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def nsfw_warnings(self):
|
||||
|
|
Loading…
Reference in New Issue