Fix case sensitivity in README file path for consistency
This commit is contained in:
@@ -7,10 +7,10 @@ def generate_stats():
|
||||
return f"✅ My Gitea instance is alive and well!\n🕒 Last update: {now}."
|
||||
|
||||
def main():
|
||||
readme_path = "README.md"
|
||||
readme_path = "README.MD"
|
||||
|
||||
if not os.path.exists(readme_path):
|
||||
print("README.md not found!")
|
||||
print(f"{readme_path} not found!")
|
||||
return
|
||||
|
||||
with open(readme_path, "r", encoding="utf-8") as f:
|
||||
|
||||
Reference in New Issue
Block a user