Remove debug logs

This commit is contained in:
Ben Sarmiento
2023-11-07 17:26:34 +01:00
parent 0a76fdb14b
commit 56e3540583

View File

@@ -334,8 +334,6 @@ func (t *TorrentManager) addMoreInfo(torrent *Torrent) {
func (t *TorrentManager) getName(torrent *Torrent) string { func (t *TorrentManager) getName(torrent *Torrent) string {
// drop the extension from the name // drop the extension from the name
t.log.Debugf("Original name: %s", torrent.OriginalName)
t.log.Debugf("Name: %s", torrent.Name)
if t.config.EnableRetainFolderNameExtension() && strings.Contains(torrent.Name, torrent.OriginalName) { if t.config.EnableRetainFolderNameExtension() && strings.Contains(torrent.Name, torrent.OriginalName) {
return torrent.Name return torrent.Name
} else { } else {