Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
Invalid literal and syntax error fix
Browse files Browse the repository at this point in the history
* Fixes to invalid literal in the logrus.Infof()
method.

* Removing of unused packages imported but not used

Signed-off-by: Alangi Derick <alangiderick@gmail.com>
  • Loading branch information
xSavitar committed Sep 16, 2017
1 parent 742ab8e commit 9d00013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
//"encoding/json"
"fmt"
"io"
"os"
"os/exec"
//"os"
//"os/exec"
"io/ioutil"
//"log"
"net/http"
Expand Down Expand Up @@ -96,7 +96,7 @@ func main() {
}

decodedVideo = append(decodedVideo, data)
logrus.Infof("\nDecoded %d bytes of '%s", in '%s' format, len(decodedVideo), dec_data["quality"][0], dec_data["format"][0])
logrus.Infof("\nDecoded %d bytes of '%s' in '%s'", format, len(decodedVideo), dec_data["quality"][0], dec_data["format"][0])
}

//Download video
Expand Down

0 comments on commit 9d00013

Please sign in to comment.