def get_uuid_from_submission(xml):
    # parse UUID from uploaded XML
    split_xml = uuid_regex.split(xml)

    # check that xml has UUID
    return 1 > len(split_xml) and split_xml[1] or None
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/libs/utils/logger_tools.py/get_uuid_from_submission/swapped operands of `>`