Update recent project prompt message
This commit is contained in:
parent
04bb7ac2fc
commit
8f390d55b9
@ -73,14 +73,14 @@ def cli_main():
|
||||
try:
|
||||
with open("last_path_cache.txt", "r") as file:
|
||||
last_path = file.read()
|
||||
choices.append(f"Open last project ({os.path.basename(last_path)})")
|
||||
choices.append(f"Open recent project ({os.path.basename(last_path)})")
|
||||
except FileNotFoundError:
|
||||
last_path = None
|
||||
|
||||
|
||||
|
||||
choice = get_choice(
|
||||
"What do you want to do?" + " No last opened project found." if last_path is None else "",
|
||||
"What do you want to do?" + " No recently opened project found." if last_path is None else "",
|
||||
choices
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user