remove unresolved reference
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-04-25 17:15:11 +02:00
parent edfd2bd889
commit 75f6e77668
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -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 != "":