bug fix where openning a repo with no readme would crash the app
This commit is contained in:
@@ -173,7 +173,7 @@ class RepoViewScreen(Screen):
|
|||||||
files.add_rows(rows)
|
files.add_rows(rows)
|
||||||
|
|
||||||
if not found_readme:
|
if not found_readme:
|
||||||
readme.update("This repository has no `README.md` file.")
|
self.app.call_from_thread(readme.update, "This repository has no `README.md` file.")
|
||||||
|
|
||||||
loading.display = False
|
loading.display = False
|
||||||
files.display = True
|
files.display = True
|
||||||
|
|||||||
Reference in New Issue
Block a user