fix: move .read().splitlines() onto os.popen
This commit is contained in:
parent
4dd14756ef
commit
73c89e9caa
1 changed files with 2 additions and 2 deletions
|
@ -498,9 +498,9 @@ def init_widget_list(main=True, laptop=False):
|
|||
os.popen(
|
||||
"ifconfig -s | grep -wv -e Iface -e lo | awk {'print $1'} | tac"
|
||||
)
|
||||
.read()
|
||||
.splitlines()
|
||||
)
|
||||
.read()
|
||||
.splitlines()
|
||||
)
|
||||
],
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue