diff options
author | Devaev Maxim <[email protected]> | 2020-11-23 23:51:26 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-11-23 23:51:26 +0300 |
commit | 9e92a403c05c387b194961e1e22e3cc121957843 (patch) | |
tree | 363f17f89f172719e91731969304ba4d8515578c /kvmd/apps | |
parent | 3047114013451c7e6ba54050f550f3fd28433e89 (diff) |
refactoring
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/__init__.py | 9 | ||||
-rw-r--r-- | kvmd/apps/kvmd/api/ugpio.py | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 3190f62c..008f9e08 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -90,10 +90,11 @@ from ..validators.hid import valid_hid_mouse_move from ..validators.kvm import valid_stream_quality from ..validators.kvm import valid_stream_fps from ..validators.kvm import valid_stream_resolution -from ..validators.kvm import valid_ugpio_driver -from ..validators.kvm import valid_ugpio_channel -from ..validators.kvm import valid_ugpio_mode -from ..validators.kvm import valid_ugpio_view_table + +from ..validators.ugpio import valid_ugpio_driver +from ..validators.ugpio import valid_ugpio_channel +from ..validators.ugpio import valid_ugpio_mode +from ..validators.ugpio import valid_ugpio_view_table from ..validators.hw import valid_tty_speed from ..validators.hw import valid_gpio_pin diff --git a/kvmd/apps/kvmd/api/ugpio.py b/kvmd/apps/kvmd/api/ugpio.py index f98cbc58..4a8b37f1 100644 --- a/kvmd/apps/kvmd/api/ugpio.py +++ b/kvmd/apps/kvmd/api/ugpio.py @@ -25,7 +25,7 @@ from aiohttp.web import Response from ....validators.basic import valid_bool from ....validators.basic import valid_float_f0 -from ....validators.kvm import valid_ugpio_channel +from ....validators.ugpio import valid_ugpio_channel from ..ugpio import UserGpio |