events: don't import event stuff in main for non-chat
parent
de01a8d3ea
commit
399d158101
|
@ -86,8 +86,8 @@ elif app.config['SERVICE'] == Service.CHAT:
|
|||
from files.routes.chat import *
|
||||
|
||||
if FEATURES['HOLIDAY_EVENT']:
|
||||
from files.events import *
|
||||
if app.config['SERVICE'] == Service.RDRAMA:
|
||||
from files.events import *
|
||||
event_init()
|
||||
|
||||
stdout.flush()
|
||||
|
|
Loading…
Reference in New Issue