Skip to content

Commit

Permalink
Update fmhy-search.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Rust1667 committed Aug 3, 2024
1 parent f483f8b commit c8ecf7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmhy-search.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def dlWikiChunk(fileName, icon, redditSubURL):
try:
#First, try to get it from the local file
print("Loading " + fileName + " from local file...")
with open(fileName, 'r') as f:
with open(fileName.lower(), 'r') as f:
page = f.read()
print("Loaded.\n")
#if not available locally, download the chunk
Expand Down

0 comments on commit c8ecf7b

Please sign in to comment.