From 8cfa6ca1b2b6473dc5b16912981369885f52d890 Mon Sep 17 00:00:00 2001 From: nikolasfil Date: Wed, 14 Dec 2022 15:30:32 +0200 Subject: [PATCH] minor updates --- wargames.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wargames.py b/wargames.py index b887f35..7bcce75 100755 --- a/wargames.py +++ b/wargames.py @@ -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]) @@ -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