Spaces:
Runtime error
Runtime error
Commit
·
44db853
1
Parent(s):
7067d60
cli_clock error handling
Browse files- cli_clock.py +4 -1
- translation_cache.db +2 -2
cli_clock.py
CHANGED
@@ -90,7 +90,10 @@ def display_current_verse():
|
|
90 |
print(f"{TANACH_DATA[book_id]['title']}, Chapter {chapter_id + 1}, Verse {verse_id}")
|
91 |
print("-" * 30)
|
92 |
print(hebrew_chapter[verse_id - 1])
|
93 |
-
|
|
|
|
|
|
|
94 |
print("-" * 30)
|
95 |
time.sleep(1)
|
96 |
|
|
|
90 |
print(f"{TANACH_DATA[book_id]['title']}, Chapter {chapter_id + 1}, Verse {verse_id}")
|
91 |
print("-" * 30)
|
92 |
print(hebrew_chapter[verse_id - 1])
|
93 |
+
try:
|
94 |
+
print(english_chapter[verse_id - 1]) # Display corresponding English line
|
95 |
+
except Exception as e:
|
96 |
+
logging.error(f"Error displaying translation: {e}")
|
97 |
print("-" * 30)
|
98 |
time.sleep(1)
|
99 |
|
translation_cache.db
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c82cc70ba225f3440c3e4c557a66203b72983bc58efa956ffa4976599e09f96f
|
3 |
+
size 1183744
|