Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug where incorrect method was called if a number was not entered

  • Loading branch information...
commit 5a50a8093f9ce3d7631a55a5e1d60fe6b91aaac1 1 parent af61011
Aaron Hill authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  decimeters.py
View
2  decimeters.py
@@ -12,7 +12,7 @@ def decimeter():
a = float(raw_input('How many decimeters would you like to convert? '))
except ValueError:
print 'You need to enter a number!'
- foot()
+ decimeter()
b = raw_input('What you you like to convert to? [C]entimeters, [M]eters, [K]ilometers: ')
if b == 'C' or b == 'c':
decimeters_centimeters(a)
Please sign in to comment.
Something went wrong with that request. Please try again.