diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-07-30 11:12:47 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-07-30 11:12:47 +0200 |
commit | e0bd7ac9ac7d67c589f7a570ecef50603a61e963 (patch) | |
tree | 9956221de62a9bc81d314d93b6d59e66d149cc9f /clerk_helper | |
parent | 7c9cf9941c14f7c158adb68c9e099155afcd4520 (diff) | |
download | perl-app-clerk-e0bd7ac9ac7d67c589f7a570ecef50603a61e963.tar.gz perl-app-clerk-e0bd7ac9ac7d67c589f7a570ecef50603a61e963.tar.xz |
fix latest cache creation
Diffstat (limited to 'clerk_helper')
-rwxr-xr-x | clerk_helper | 8 |
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']) |