Skip to content

Commit 20a1934

Browse files
fix : __init__ file updated #35
1 parent 2af8b38 commit 20a1934

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

orangetool/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""Orangetool modules."""
33

44
from .orangetool_display import hdmi_on, hdmi_off, hdmi_size
5-
from .orangetool_ip import internet, local_ip, global_ip, set_ip, ping, mac
5+
from .orangetool_ip import internet, local_ip, global_ip, set_ip, ping, mac, network_disable, network_enable
66
from .orangetool_system import check_update, get_temp, uptime, idletime, wakeup, version, sleep, hibernate, halt, restart
77
from .orangetool_ram import ram_total, ram_used, ram_free, ram_percent, freeup
88
from .orangetool_storage import mount_status, storage_status, unmount, unmount_all, mount, usb_on, usb_off

orangetool/orangetool_ip.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def network_enable(device="eth0", debug=False):
217217
"""
218218
return network_control("up",device=device,debug=debug)
219219

220-
def netowrk_disable(device="eth0", debug=False):
220+
def network_disable(device="eth0", debug=False):
221221
"""
222222
Shortcut to disable network adaptor.
223223

0 commit comments

Comments
 (0)