Fixed a small problem

This commit is contained in:
Bigsk 2020-10-30 16:07:32 +08:00
parent fb6fab0a9f
commit 88fe5ae9c6

View File

@ -23,7 +23,7 @@ class GMCLCore(object):
return "Error:Wrong Auth Way."
def GetMemory(self,Memory):
if(Memory.count("B")>1 or Memory.count("b")>1):
return "Error:Wrong Memory Unit
return "Error:Wrong Memory Unit"
else:
if(Memory.count("GB")==1):
self.__Memory=Memory.replace("GB","")