Fix a race condition in disabling networks post-creation, remove redundant bindhost code and fix a minor bug in the load command
This commit is contained in:
@@ -6,8 +6,8 @@ import commands
|
||||
from main import CommandMap
|
||||
|
||||
def loadCommands():
|
||||
for filename in listdir('commands'):
|
||||
if filename.endswith('.py') and filename != "__init__.py":
|
||||
for filename in listdir("commands"):
|
||||
if filename.endswith(".py") and filename != "__init__.py":
|
||||
commandName = filename[0:-3]
|
||||
className = commandName.capitalize()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user