Bug #9775

TYT TH-9800: bug in 'isValidDate' helper

Added by Jim Unroe 7 months ago. Updated 7 months ago.

Status:Resolved Start date:03/06/2022
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:All
Model affected:TYT TH-9800

Description

[2022-03-05 20:07:19,426] chirp.ui.common - ERROR: Traceback (most recent call last):
  File "chirp\ui\common.pyo", line 116, in _execute
  File "chirp\drivers\th9800.pyo", line 574, in get_settings
  File "chirp\drivers\th9800.pyo", line 185, in isValidDate
NameError: global name 'yy' is not defined

debug.log (39.5 kB) Jim Unroe, 03/06/2022 01:15 am

Associated revisions

Revision 3663:273058f2ab17
Added by Jim Unroe 7 months ago

[TH9800] bug in 'isValidDate' helper

This patch corrects the variable name used in the 'isValidDate' helper
which is used to determine if February has 28 or 29 days.

Addresses #9775

History

Updated by Jim Unroe 7 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

A patch to correct the bug has been submitted.

Jim KC9HI

Also available in: Atom PDF