string_syntax_fix.patch

Matthew Poletiek, 12/11/2020 05:13 pm

Download (1.3 kB)

b/chirp/drivers/ft70.py
528 528
    _GM_RING = ("OFF", "IN RING", "AlWAYS")
529 529
    _GM_INTERVAL = ("LONG", "NORMAL", "OFF")
530 530

  
531
    _MYCALL_CHR_SET = list(string.uppercase) + list(string.digits) + ['-','/' ]
531
    _MYCALL_CHR_SET = list(string.ascii_uppercase) + list(string.digits) + ['-','/' ]
532 532

  
533 533
    @classmethod
534 534
    def get_prompts(cls):
b/chirp/drivers/ft90.py
52 52
                         chirp_common.PowerLevel("Low", watts=5)]
53 53

  
54 54
FT90_DUPLEX = ["", "-", "+", "split"]
55
FT90_CWID_CHARS = list(string.digits) + list(string.uppercase) + list(" ")
55
FT90_CWID_CHARS = list(string.digits) + list(string.ascii_uppercase) + list(" ")
56 56
FT90_DTMF_CHARS = list("0123456789ABCD*#")
57 57
FT90_SPECIAL = ["vfo_vhf", "home_vhf", "vfo_uhf", "home_uhf",
58 58
                "pms_1L", "pms_1U", "pms_2L", "pms_2U"]