paljsingh / impartus-downloader

Download Impartus lectures, convert to mkv for offline viewing.
GNU General Public License v3.0
23 stars 8 forks source link

[Bug]: App crash due to int conversion and comparison against empty field. #100

Closed paljsingh closed 3 years ago

paljsingh commented 3 years ago

Traceback (most recent call last): File "C:\Users\arund\impartus-downloader\ui\uiitems\table.py", line 304, in on_click_download_video row = self.get_row_from_rfid(rf_id, is_flipped) File "C:\Users\arund\impartus-downloader\ui\uiitems\table.py", line 543, in get_row_from_rfid if int(self.table.item(i, fcid_col_index).text()) == rf_id: ValueError: invalid literal for int() with base 10: ''

paljsingh commented 3 years ago

The issue should be appearing for all flipped lecture downloads, as well as non-flipped/regular lectures that appear below a flipped lecture in the table. Fixed with commit #61a0178