Skip to content

Commit

Permalink
correction de bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
arblade committed Oct 9, 2020
1 parent f7dc8d5 commit d8a8a8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/yt_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ def write_to_window(self):
elems=text.split(" ")
for elem in elems:
elem.replace(" ", "")

if len(elems)>8:
elems[7]=elems[7][:-11]
elems=elems[:8]
print(elems)

self.progressBar.setValue(float(elems[1][0:-1]))
Expand Down

0 comments on commit d8a8a8a

Please sign in to comment.