summaryrefslogtreecommitdiffstats
path: root/clerk_helper
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-07-30 11:12:47 +0200
committerRasmus Steinke <rasi@xssn.at>2015-07-30 11:12:47 +0200
commite0bd7ac9ac7d67c589f7a570ecef50603a61e963 (patch)
tree9956221de62a9bc81d314d93b6d59e66d149cc9f /clerk_helper
parent7c9cf9941c14f7c158adb68c9e099155afcd4520 (diff)
downloadperl-app-clerk-e0bd7ac9ac7d67c589f7a570ecef50603a61e963.tar.gz
perl-app-clerk-e0bd7ac9ac7d67c589f7a570ecef50603a61e963.tar.xz
fix latest cache creation
Diffstat (limited to 'clerk_helper')
-rwxr-xr-xclerk_helper8
1 files changed, 4 insertions, 4 deletions
diff --git a/clerk_helper b/clerk_helper
index d450fdc..4ac8c2a 100755
--- a/clerk_helper
+++ b/clerk_helper
@@ -81,9 +81,9 @@ def createCache(args):
if 'date' in i:
date=i['date']
if isinstance(i['date'], list):
- album = i['date'][0]
+ date = i['date'][0]
else:
- album = i['date']
+ date = i['date']
else:
print("WARNING: missing date tag for file: "+i['file'])
@@ -105,9 +105,9 @@ def createCache(args):
if 'album' in i:
if isinstance(i['album'], list):
- track = i['album'][0]
+ album = i['album'][0]
else:
- track = i['album']
+ album = i['album']
else:
print("WARNING: missing album tag for file: "+i['file'])