Skip to content

Commit 181f7d9

Browse files
committed
updated meu.py and readme
1 parent ad4a8ce commit 181f7d9

File tree

7 files changed

+3
-5
lines changed

7 files changed

+3
-5
lines changed

rd_data/rd_gifs/menu_demo.gif

8.95 MB
Loading

src/__pycache__/cpumon.cpython-36.pyc

-2.49 KB
Binary file not shown.

src/__pycache__/hwmon.cpython-36.pyc

-2.27 KB
Binary file not shown.

src/__pycache__/memmon.cpython-36.pyc

-2.83 KB
Binary file not shown.

src/__pycache__/netmon.cpython-36.pyc

-1.7 KB
Binary file not shown.

src/__pycache__/utils.cpython-36.pyc

-875 Bytes
Binary file not shown.

src/menu.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,23 @@ class Menu():
77
def __init__(self):
88

99
print("\033c")
10-
if is_vm():
11-
print('Puede que la salida de algunos sensores sea incompleta')
12-
self.vm_host = True
10+
is_vm()
1311

1412
def user_input(self, options):
1513

1614
user = ''
1715

1816
while user not in options.keys():
1917
print_dict(options)
20-
user = input('>>> Opcion: ')
18+
user = input('>>> Option: ')
2119
print("\033c")
2220

2321
return user
2422

2523
def menu(self):
2624

2725
options = {'1':'Sensors data', '2':'CPU data', '3':'Memory data',
28-
'4':'Network data', '5':'Salir'}
26+
'4':'Network data', '5':'Exit'}
2927

3028
user = self.user_input(options)
3129

0 commit comments

Comments
 (0)