Added return codes

This commit is contained in:
2022-04-20 20:57:59 -04:00
parent 20d2de338f
commit be19e271c5
2 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ def get_profile(_profile_dir):
except (FileNotFoundError, IndexError):
print('\nEither the profile does not exist, or it is corrupted.\n')
_profile_data = None
s_exit()
s_exit(1)
# extract data from profile
_user = _profile_data[0].replace('\n', '')
_ip = _profile_data[1].replace('\n', '')