Fix DeprecationWarning: invalid escape sequence (#679)

Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
This commit is contained in:
Mickaël Schoentgen
2019-01-08 09:58:47 +01:00
committed by Libin Yang
parent 6128533319
commit 3dc50529ca
4 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ BYTE_SIZE = 256
def main():
filename = 'encrypted_file.txt'
response = input('Encrypte\Decrypt [e\d]: ')
response = input(r'Encrypte\Decrypt [e\d]: ')
if response.lower().startswith('e'):
mode = 'encrypt'