Skip to content

Commit

Permalink
optimize: remove unused variables and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SakuraSa233 committed Nov 27, 2018
1 parent b2c5a1c commit 59ed521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
10 changes: 1 addition & 9 deletions apiconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@
SERVER_PUB_ADDR = '127.0.0.1' # mujson_mgr need this to generate ssr link
API_INTERFACE = 'modwebapi' # glzjinmod, modwebapi

# Mod webapi
WEBAPI_URL = 'https://zhaoj.in'
WEBAPI_TOKEN = 'glzjin'

# mudb
MUDB_FILE = 'mudb.json'

# Mysql
MYSQL_HOST = '127.0.0.1'
MYSQL_PORT = 3306
Expand All @@ -32,12 +30,6 @@
MYSQL_SSL_CERT = ''
MYSQL_SSL_KEY = ''

# API
API_HOST = '127.0.0.1'
API_PORT = 80
API_PATH = '/mu/v2/'
API_TOKEN = 'abcdef'
API_UPDATE_TIME = 60

# Manager (ignore this)
MANAGE_PASS = 'ss233333333'
Expand Down
8 changes: 2 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
urllib3==1.20
cymysql==0.8.9
requests==2.13.0
pyOpenSSL==16.2.0
ndg-httpsclient==0.4.2
pyasn1==0.2.2
cymysql==0.9.12
requests==2.20.1

0 comments on commit 59ed521

Please sign in to comment.