From cc5d54914cf38730a9b729b992b18d3df0def94d Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sat, 4 Mar 2023 16:28:34 -0500 Subject: [PATCH] Fixed folder names occasionaly not showing in entry list Former-commit-id: 396b2d4b97957453cd735750f4ec5a7bb9f1e233 Former-commit-id: ce0c40855327d6263f0fbdc445f8abf1fb0077e7 --- lib/sshyp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/sshyp.py b/lib/sshyp.py index 4a35e92..72dee49 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -35,9 +35,8 @@ def entry_list_gen(_directory=f"{home}/.local/share/sshyp/"): # generates and p print(fill(' '.join(_entry_list), width=_width) + '\n') elif _ran: print('\u001b[38;5;9m-empty directory-\u001b[0m\n') - else: - _ran = True - + _ran = True + def entry_reader(_decrypted_entry): # displays the contents of an entry in a readable format _entry_lines, _notes_flag = open(_decrypted_entry, 'r').readlines(), 0