Skip to content

Commit

Permalink
Update mscsploit.py
Browse files Browse the repository at this point in the history
inverted your default destination prompt. it makes more sense now. at least to me.
  • Loading branch information
misterhackerman authored Jun 25, 2023
1 parent 089b357 commit b8e30ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mscsploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def download_lectures(url, folder):
if os.path.isfile(file_path):
if new_name.startswith('1.'):
print('\n################ ' + subject_folder + ' ################\n')
print( new_name + ' <is already downloaded there XD>')
print( Fore.MAGENTA + new_name + ' <is already downloaded there XD>' + Fore.RESET)
continue
if not os.path.isdir(folder + subject_folder):
os.makedirs(folder + subject_folder)
Expand All @@ -145,8 +145,8 @@ def choose_folder():
print('\n[*] Folder Not found! ', end='')
quit()
else:
answer = input('[*] Your default destination is ' + folder + "\n[*] Do you want to change that (N/y): ")
if answer == 'y' or answer == 'yes':
answer = input('[*] Your default destination is ' + folder + "\n[*] Do you want to keep that (Y/n): ")
if answer == 'n' or answer == 'no' or answer == 'N':
valid_folder = False
while valid_folder == False:
selected_folder = input('\n[*] Enter the Folder you want to save material in.\n\n>> ')
Expand Down

0 comments on commit b8e30ed

Please sign in to comment.