mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
stdout no longer needed with check_output
This commit is contained in:
parent
742cf01e86
commit
3c69e4374f
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ if args.refresh:
|
|||
|
||||
current_date = datetime.now()
|
||||
|
||||
for _line in proc.stdout.splitlines():
|
||||
for _line in proc.splitlines():
|
||||
# Convert from bytestring first
|
||||
line = _line.decode('utf-8')
|
||||
|
||||
|
|
Loading…
Reference in a new issue