diff --git a/crypttool.py b/crypttool.py index dd77b0b..d0e9014 100644 --- a/crypttool.py +++ b/crypttool.py @@ -250,8 +250,8 @@ def translatePrompt(): print('3: Octal') print('4: Hexadecimal') print('5: ASCII') - inputType = input('Please specify input type: ') - outputType = input('Please specify output type: ') + inputType = int(input('Please specify input type: ')) + outputType = int(input('Please specify output type: ')) if (inputType == 5): inputString = input('Please input your strings, seperated by semicolon: ') else: