diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-18 00:55:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-18 00:55:27 -0300 |
commit | 3fdb2a68b79314890eed4d3b435f6986dc280fd3 (patch) | |
tree | de3508ae91d3aa779832192b6e5c344e7724282e | |
parent | a42807c6c632615500a08c77e06d16ae346e46b1 (diff) | |
download | server-3fdb2a68b79314890eed4d3b435f6986dc280fd3.tar.gz server-3fdb2a68b79314890eed4d3b435f6986dc280fd3.tar.bz2 server-3fdb2a68b79314890eed4d3b435f6986dc280fd3.tar.xz server-3fdb2a68b79314890eed4d3b435f6986dc280fd3.zip |
Try to improve how script looks for linting
-rw-r--r-- | player.py | 11 | ||||
-rw-r--r-- | protocol.py | 2 | ||||
-rwxr-xr-x | server.py | 4 |
3 files changed, 11 insertions, 6 deletions
@@ -18,10 +18,15 @@ ######################################################################################## # Player Module (parties, inventory, and player data) -from utils import * -from consts import * +from utils import (stdout, dl_search, allunits, date_from_sql, date_from_now, + now, compress) +from consts import (SQL_DELAY, SQL_SAVE_TIME, MAX_INV_SIZE, AP_REGEN_TIME_F, + Job_Swordsman, Job_Mage, Job_Assassin, Job_Archer, Job_Gunner, SQL_CLEAR, + ERR_LOGIN, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY, + ERR_BAD, ERR_OFF, ERR_ERR, CLIENTVERSION, UNSELLABLE, DOUBLE_GP, EXP_UP, + ERR_DONE, ERR_OK, MAX_PARTIES, NO_PARTY, SUPEREVOMAT, EVO_MAT) import sql -import time, json, re +import json, re #,time from copy import copy from threading import Timer diff --git a/protocol.py b/protocol.py index bfab370..8814d1b 100644 --- a/protocol.py +++ b/protocol.py @@ -18,7 +18,7 @@ ######################################################################################## # Protocol Module # Parses packets -import utils +#import utils import player from consts import ERR_BAD @@ -9,8 +9,8 @@ from websock import WebSocketServer, WebSocket ## Local Modules from utils import stdout, now -from consts import * -import sql, protocol, security, traceback +#from consts import * +import protocol, security, traceback ############################################################### # Configuration |