diff options
-rw-r--r-- | crane.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -327,10 +327,6 @@ func (papers *Papers) NewPaperFromDirectLink(resp *http.Response, meta *Meta, paper.PaperName = papers.getUniqueName(category, getPaperFileNameFromResp(resp)) } - - if err != nil { - return &Paper{}, err - } paper.PaperPath = filepath.Join(papers.Path, filepath.Join(category, paper.PaperName+".pdf")) |