From 7aa8254ad97f429cf2d7b43d0c360bbf086cabe0 Mon Sep 17 00:00:00 2001 From: "adrian.sampson" Date: Tue, 12 May 2009 03:40:42 +0000 Subject: [PATCH] correct method calls: lower, not tolower --HG-- extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%40222 --- beets/autotag/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/autotag/__init__.py b/beets/autotag/__init__.py index 3163bcaba..f0925be0b 100644 --- a/beets/autotag/__init__.py +++ b/beets/autotag/__init__.py @@ -69,9 +69,9 @@ def _input_yn(prompt): """ resp = raw_input(prompt) while True: - if len(resp) == 0 or resp[0].tolower() == 'y': + if len(resp) == 0 or resp[0].lower() == 'y': return True - elif len(resp) > 0 and resp[0].tolower() == 'n': + elif len(resp) > 0 and resp[0].lower() == 'n': return False resp = raw_input("Type 'y' or 'n': ")