def adjust_frequency(frequency):
    """
    把frequency为1m这样的分钟, 调整为秒
    """
    frequency = frequency.strip().lower()
    return '{}s'.format(int(frequency[0:-1] * 60)) if frequency.endswith('m'
        ) else frequency
