Remove debug logs
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user