Skip to content

Commit a6f9d97

Browse files
Added automatic title detection
1 parent 130c01f commit a6f9d97

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ def __init__(self, file_path, main_window):
2525

2626
self.title_entry = QLineEdit()
2727

28-
# filename either "Kaarah_forty_four.pdf" or "Pinchas_dvar_Torah_2023.pdf"
29-
# title either "Volume Forty-Four" or "Pinchas 5783"
3028
filename = self.file_label.text()
3129
if filename.startswith("Kaarah"):
3230
volume = filename.replace('_-_', '').removeprefix('Kaarah_').removeprefix('Kaarah').removesuffix(

0 commit comments

Comments
 (0)