Implement API for authentication management actions
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import main
|
||||
|
||||
from utils.get import getRelay
|
||||
|
||||
|
||||
class GetstrCommand:
|
||||
def __init__(self, *args):
|
||||
self.getstr(*args)
|
||||
@@ -11,7 +11,7 @@ class GetstrCommand:
|
||||
if length == 3:
|
||||
net = spl[1]
|
||||
num = spl[2]
|
||||
if not net in main.network.keys():
|
||||
if net not in main.network.keys():
|
||||
failure("Network does not exist: %s" % net)
|
||||
return
|
||||
if not num.isdigit():
|
||||
|
||||
Reference in New Issue
Block a user