def resultManager(self, text):
        """
        resultcode & message:
            0 = success => if "resultvalue" = null: no result to show
            11 = Not Exist Path
            36 = File Infomation Not Found
            2002 = Invalidation Cookie
        
        """
        j = json.loads(text)

        if j['message'] != 'success':
            print "[*] Error : " + j['message']
            return False
        else:
            return True
def resultManager ( self , text ) : j = json . loads ( text ) if j [ 'message' ] != 'success' : print "[*] Error : " + j [ 'message' ] return False else : return True
resultcode & message:
            0 = success => if "resultvalue" = null: no result to show
            11 = Not Exist Path
            36 = File Infomation Not Found
            2002 = Invalidation Cookie