Fixed folder names occasionaly not showing in entry list

Former-commit-id: 396b2d4b97957453cd735750f4ec5a7bb9f1e233
Former-commit-id: ce0c40855327d6263f0fbdc445f8abf1fb0077e7
This commit is contained in:
2023-03-04 16:28:34 -05:00
parent b090c24d59
commit cc5d54914c
+2 -3
View File
@@ -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