| Conditions | 2 | 
| Total Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 1 | 
| CRAP Score | 4.048 | 
| 1 | 1 | from plugin.sync.core.enums import SyncData, SyncMedia, SyncMode  | 
            |
| 29 | 1 | def create_playlist(self, uri, name):  | 
            |
| 30 | # Check if playlist creation is enabled  | 
            ||
| 31 | if self.configuration['sync.lists.liked.playlists'] is False:  | 
            ||
| 32 |             log.info('No playlist found named %r ("Create playlist in plex" not enabled)', name) | 
            ||
| 33 | return None  | 
            ||
| 34 | |||
| 35 | # Create playlist  | 
            ||
| 36 | return super(LikedLists, self).create_playlist(uri, name)  | 
            ||
| 37 |