Merge pull request #519 from ritiek/remove-duplicate-debuglog-entry

Remove duplicate debuglog entry
This commit is contained in:
Ritiek Malhotra
2019-03-17 10:02:23 +05:30
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
-
### Changed
- Removed duplicate debug log entry from `internals.trim_song` ([@ritiek](https://github.com/ritiek)) (#519)
- Fix YAMLLoadWarning ([@cyberboysumanjay](https://github.com/cyberboysumanjay)) (#517)
## [1.2.0] - 2019-03-01

View File

@@ -51,7 +51,6 @@ def input_link(links):
def trim_song(tracks_file):
""" Remove the first song from file. """
log.debug("Removing downloaded song from tracks file")
with open(tracks_file, "r") as file_in:
data = file_in.read().splitlines(True)
with open(tracks_file, "w") as file_out: