Skip to content

Commit

Permalink
Allow uploading bug details with a live radio
Browse files Browse the repository at this point in the history
  • Loading branch information
kk7ds committed Jun 18, 2024
1 parent 1ac8524 commit 5f65f43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chirp/wxui/bugreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import wx

from chirp import CHIRP_VERSION
from chirp import chirp_common
from chirp import logger
from chirp import platform
from chirp.wxui import common
Expand Down Expand Up @@ -161,7 +162,7 @@ def prepare_report(self):
manifest['config.txt'] = '\n'.join(clean_lines)

editor = self.GetParent().current_editorset
if editor:
if editor and isinstance(editor._radio, chirp_common.FileBackedRadio):
tmpf = tempfile.mktemp('-capture.img', 'chirp')
LOG.debug('Capturing focused open file %s from %s',
editor.filename, editor._radio)
Expand Down

0 comments on commit 5f65f43

Please sign in to comment.