summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-02-15 23:23:03 +0100
committerRasmus Steinke <rasi@xssn.at>2015-02-15 23:23:03 +0100
commitac7063a87715041f292e0220689e9184596c7d39 (patch)
tree76125ff5683e426f34c23f01624664c728fb0259
parent00779a16ea6fb1892daba3a2bb9767232a1b7e94 (diff)
downloadmppc-ac7063a87715041f292e0220689e9184596c7d39.tar.gz
mppc-ac7063a87715041f292e0220689e9184596c7d39.tar.bz2
fixed common functionHEADmaster
-rwxr-xr-xmppc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mppc b/mppc
index 607bc37..3507eff 100755
--- a/mppc
+++ b/mppc
@@ -177,7 +177,7 @@ def trackCache(args):
content = lookup(key, fields)
fh = open(os.getenv('HOME')+'/.config/clerk/tracks.cache', "w")
entries = [os.getenv('separator').join(entry) for entry in content]
- for entry in sorted(entries, key=lambda x:str.lower):
+ for entry in sorted(entries, key=str.lower):
fh.write(entry+"\n")
fh.close()
@@ -187,7 +187,7 @@ def albumCache(args):
content = lookup(key, fields)
fh = open(os.getenv('HOME')+'/.config/clerk/album.cache', "w")
entries = [os.getenv('separator').join(entry) for entry in content]
- for entry in sorted(entries, key=lambda x:str.lower):
+ for entry in sorted(entries, key=str.lower):
fh.write(entry+"\n")
fh.close()