summaryrefslogtreecommitdiff
path: root/fetcher.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-21 23:45:49 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-21 23:45:49 (GMT)
commitbcc3483ff7e719c4e429b22e045937fd19e34400 (patch)
tree29ad9aa3523e9d6c07f99f0e85c847ba61d26367 /fetcher.go
parent4a358bab91c53ac951567c0f25d08368095b843a (diff)
basic session handling works now
Diffstat (limited to 'fetcher.go')
-rw-r--r--fetcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetcher.go b/fetcher.go
index 1f0b364..36d7055 100644
--- a/fetcher.go
+++ b/fetcher.go
@@ -193,7 +193,7 @@ func FetchFileFake(ctx *ImportContext, res *FetchResult, uri *url.URL) error {
time.Sleep(100 * time.Millisecond)
}
if ctx.ProgressCallBack != nil {
- ctx.ProgressCallBack(42, "faking", 1.0, ctx.ProgressCallBackData)
+ ctx.ProgressCallBack(1, "faking", 1.0, ctx.ProgressCallBackData)
}
ctx.SourceFile = "/nonexistend/fake.mp3"
ctx.DeleteSourceFile = false