remove unresolved reference
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
edfd2bd889
commit
75f6e77668
@ -43,7 +43,7 @@ class Server:
|
|||||||
return self.execute(parsedCommand[0], parsedCommand[1], parsedCommand[2])
|
return self.execute(parsedCommand[0], parsedCommand[1], parsedCommand[2])
|
||||||
|
|
||||||
def execute(self, command: str, firstParam: str = "", secondParam: str = "") -> str:
|
def execute(self, command: str, firstParam: str = "", secondParam: str = "") -> str:
|
||||||
if self.homeDirectory == "" or self.currentDirectory == "" or self.executor.currentDirectory == "" or self.executor.baseDir == "":
|
if self.homeDirectory == "" or self.executor.currentDirectory == "" or self.executor.baseDir == "":
|
||||||
raise Exception("Directories must not be empty string. Did the user log in?")
|
raise Exception("Directories must not be empty string. Did the user log in?")
|
||||||
if command == "MKD":
|
if command == "MKD":
|
||||||
if secondParam != "":
|
if secondParam != "":
|
||||||
|
Loading…
Reference in New Issue
Block a user