Change some logic

This commit is contained in:
Richard Chien
2018-07-04 16:21:01 +08:00
parent 89a11ab6e9
commit 1f4e5f3435
7 changed files with 89 additions and 46 deletions

View File

@ -1,3 +1,4 @@
import os
from datetime import timedelta
API_ROOT = ''
@ -12,3 +13,5 @@ NICKNAME = ''
COMMAND_START = {'/', '!', '', ''}
COMMAND_SEP = {'/', '.'}
SESSION_EXPIRE_TIMEOUT = timedelta(minutes=5)
DATA_FOLDER = os.path.join(os.getcwd(), 'data')