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