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