Fix: trim spaces from albumFolder name for disk
This commit is contained in:
parent
33994fac5e
commit
8e0eaae277
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ func (c *ClICtrl) createLocalFolderForRemoteAlbums(ctx context.Context, account
|
|||
// replace : with _
|
||||
albumFolderName = strings.ReplaceAll(albumFolderName, ":", "_")
|
||||
albumFolderName = strings.ReplaceAll(albumFolderName, "/", "_")
|
||||
albumFolderName = strings.TrimSpace(albumFolderName)
|
||||
|
||||
albumID := album.ID
|
||||
|
||||
if _, ok := folderToMetaMap[albumFolderName]; ok {
|
||||
|
|
Loading…
Add table
Reference in a new issue