Fixed a small problem
This commit is contained in:
parent
fb6fab0a9f
commit
88fe5ae9c6
2
main.py
2
main.py
@ -23,7 +23,7 @@ class GMCLCore(object):
|
|||||||
return "Error:Wrong Auth Way."
|
return "Error:Wrong Auth Way."
|
||||||
def GetMemory(self,Memory):
|
def GetMemory(self,Memory):
|
||||||
if(Memory.count("B")>1 or Memory.count("b")>1):
|
if(Memory.count("B")>1 or Memory.count("b")>1):
|
||||||
return "Error:Wrong Memory Unit
|
return "Error:Wrong Memory Unit"
|
||||||
else:
|
else:
|
||||||
if(Memory.count("GB")==1):
|
if(Memory.count("GB")==1):
|
||||||
self.__Memory=Memory.replace("GB","")
|
self.__Memory=Memory.replace("GB","")
|
||||||
|
Reference in New Issue
Block a user