diff --git a/chirp/sources/radioreference.py b/chirp/sources/radioreference.py index 01c0fa69e..e4f85f18b 100644 --- a/chirp/sources/radioreference.py +++ b/chirp/sources/radioreference.py @@ -164,10 +164,15 @@ def do_fetch(self, status, params): self._auth) self._freqs += result status_cur += 1 + try: + sc_name = subcat.scName + except AttributeError: + sc_name = 'Unknown Category' + status.send_status( 'Fetching agency %s %s:%s' % (agency.aid, cat.cName, - subcat.scName), + sc_name), status_cur / status_max * 100) status.send_end()