Skip to content

Commit

Permalink
Fix for folder uri's starting with 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikez committed Aug 6, 2022
1 parent 80ddb60 commit 5e2d25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def parse(file_name, user_id):
type='folder',
uri=(
'spotify:user:%s:folder:' % user_id
+ tags[-2].decode('utf-8')
+ tags[-2].decode('utf-8').zfill(16)
),
children=[]
)
Expand Down

0 comments on commit 5e2d25d

Please sign in to comment.