Permalink
Browse files

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

  • Loading branch information...
1 parent af61011 commit 5a50a8093f9ce3d7631a55a5e1d60fe6b91aaac1 Aaron Hill committed Apr 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 decimeters.py
View
@@ -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)

0 comments on commit 5a50a80

Please sign in to comment.