remove unused code
This commit is contained in:
parent
f7381a6c39
commit
fa8b595dba
@ -150,7 +150,6 @@ class ChangedRolesMode(object):
|
|||||||
self.ROLES_GUIDE = ROLES_GUIDE.copy()
|
self.ROLES_GUIDE = ROLES_GUIDE.copy()
|
||||||
lx = list(ROLES_GUIDE[None])
|
lx = list(ROLES_GUIDE[None])
|
||||||
pairs = arg.split(",")
|
pairs = arg.split(",")
|
||||||
pl = list_players()
|
|
||||||
if not pairs:
|
if not pairs:
|
||||||
raise InvalidModeException("Invalid syntax for mode roles.")
|
raise InvalidModeException("Invalid syntax for mode roles.")
|
||||||
for pair in pairs:
|
for pair in pairs:
|
||||||
@ -176,7 +175,6 @@ class ChangedRolesMode(object):
|
|||||||
|
|
||||||
# Load saved settings
|
# Load saved settings
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import os
|
|
||||||
|
|
||||||
conn = sqlite3.connect("data.sqlite3", check_same_thread = False)
|
conn = sqlite3.connect("data.sqlite3", check_same_thread = False)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user