Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasfil committed Dec 14, 2022
1 parent 0e95e8f commit 8cfa6ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wargames.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def password_manager(self):
def password_saver(self):
n = str(self.args.cycle if self.args.cycle is not None else self.args.number)
if n in self.passwords.keys():
print(f'\nPassword for next level is: {self.passwords[n]}\n')
print(f'\nPassword for next level {self.args.cycle if self.args.cycle is not None else self.args.number} is: {self.passwords[n]}\n')
pyperclip.copy(self.passwords[n])


Expand All @@ -70,9 +70,9 @@ def password_saver(self):
f.write(f"{i}\n{v}\n")

if n in self.passwords.keys():
x =input('\n\n Press enter to continue: ')
x =input(f'\n\n Press enter to continue to level {self.args.cycle if self.args.cycle is not None else self.args.number}: ')
else:
password=input('\n\n Type the password for the next level or press enter to continue: ')
password=input(f'\n\n Type the password for the next level {self.args.cycle if self.args.cycle is not None else self.args.number} or press enter to continue: ')
if password!='' and password!='\n':
self.passwords[self.args.cycle if self.args.cycle is not None else self.args.number]=password

Expand Down

0 comments on commit 8cfa6ca

Please sign in to comment.