From 348969f98d9f35e2a129701315982596167b550d Mon Sep 17 00:00:00 2001 From: Kim Wittenburg <5wittenb@informatik.uni-hamburg.de> Date: Tue, 4 Sep 2018 17:28:06 +0200 Subject: [PATCH] Fix missing copyright bug --- beetsplug/itunes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/itunes.py b/beetsplug/itunes.py index 63d9a89..2728d5d 100644 --- a/beetsplug/itunes.py +++ b/beetsplug/itunes.py @@ -302,7 +302,7 @@ class iTunesPlugin(BeetsPlugin): info.genre = album.primary_genre_name info.itunes_advisory = decode_explicitness(album.collection_explicitness) info.itunes_artwork_url = decode_artwork_url(album.artwork_url_100) - info.copyright = album.copyright if hasattr(album, 'copyright') + info.copyright = album.copyright if hasattr(album, 'copyright') else None return info def make_track_info(self, track, index):