Fix cache clearing message appearing incorrectly.

This commit is contained in:
Andrew Hamilton 2021-05-05 22:29:54 +10:00
parent e1c8a58b9a
commit 75606d5d20

View file

@ -1256,8 +1256,8 @@ def inotify_watches_exceeded():
def entry_point():
root_path, worker_count, editor_command, theme, compression = \
check_arguments()
manage_cache(root_path)
with terminal.terminal_title("eris: " + os.path.basename(root_path)):
manage_cache(root_path)
with chdir(root_path): # FIX: Don't change directory if possible.
loop = asyncio.get_event_loop()
try: