Bug #8547 ยป wouxun_common_import.patch
chirp/drivers/baofeng_uv3r.py | ||
---|---|---|
19 | 19 |
import os |
20 | 20 |
import logging |
21 | 21 | |
22 |
from wouxun_common import do_download, do_upload |
|
22 |
from .wouxun_common import do_download, do_upload
|
|
23 | 23 |
from chirp import util, chirp_common, bitwise, errors, directory |
24 | 24 |
from chirp.settings import RadioSetting, RadioSettingGroup, \ |
25 | 25 |
RadioSettingValueBoolean, RadioSettingValueList, \ |
chirp/drivers/th_uv3r25.py | ||
---|---|---|
22 | 22 |
RadioSettingValueInteger, RadioSettingValueList, \ |
23 | 23 |
RadioSettingValueBoolean, RadioSettingValueString |
24 | 24 | |
25 |
from th_uv3r import TYTUV3RRadio, tyt_uv3r_prep, THUV3R_CHARSET |
|
25 |
from .th_uv3r import TYTUV3RRadio, tyt_uv3r_prep, THUV3R_CHARSET
|
|
26 | 26 | |
27 | 27 | |
28 | 28 |
def tyt_uv3r_download(radio): |
chirp/drivers/wouxun.py | ||
---|---|---|
23 | 23 |
RadioSettingValueBoolean, RadioSettingValueList, \ |
24 | 24 |
RadioSettingValueInteger, RadioSettingValueString, \ |
25 | 25 |
RadioSettingValueFloat, RadioSettings |
26 |
from wouxun_common import wipe_memory, do_download, do_upload |
|
26 |
from .wouxun_common import wipe_memory, do_download, do_upload
|
|
27 | 27 |
from textwrap import dedent |
28 | 28 | |
29 | 29 |
LOG = logging.getLogger(__name__) |