diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-28 16:34:51 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-28 16:34:51 (GMT) |
commit | 3a6efe6d413c24b914d2b7889eb520b3f1a0820f (patch) | |
tree | fdc90350512ed89a123ec43c5f17e8bcf2c82853 | |
parent | 491fbeb2408b7c37edb8067d51421a98cc1db3c8 (diff) |
minor documenation improvement
-rw-r--r-- | importer.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/importer.go b/importer.go index 406c58e..abc99e8 100644 --- a/importer.go +++ b/importer.go @@ -455,7 +455,7 @@ func ImportFile(ctx *ImportContext) (res *ImportResult, err error) { rmCartOnErr := false rmCutOnErr := false res = &ImportResult{ResponseCode: http.StatusOK} - if ctx.ShowId != 0 { + if ctx.ShowId != 0 { // Import to a show var show_carts []uint if show_carts, err = ctx.getShowInfo(); err != nil { return @@ -476,7 +476,7 @@ func ImportFile(ctx *ImportContext) (res *ImportResult, err error) { } } rmCartOnErr = true - } else if ctx.GroupName != "" { + } else if ctx.GroupName != "" { // Import to music pool if err = ctx.getMusicInfo(); err != nil { return } @@ -484,7 +484,7 @@ func ImportFile(ctx *ImportContext) (res *ImportResult, err error) { return } rmCartOnErr = true - } else if ctx.Cart != 0 && ctx.Cut == 0 { + } else if ctx.Cart != 0 && ctx.Cut == 0 { // Import to Cart if ctx.ClearCart { if err = remove_add_cart_cut(ctx, res); err != nil || res.ResponseCode != http.StatusOK { return @@ -505,7 +505,7 @@ func ImportFile(ctx *ImportContext) (res *ImportResult, err error) { } } - if ctx.Cart != 0 && ctx.Cut != 0 { + if ctx.Cart != 0 && ctx.Cut != 0 { // Import to specific Cut within Cart if err = import_audio(ctx, res); err != nil || res.ResponseCode != http.StatusOK { if err != nil { rhl.Printf("Fileimport has failed (Cart/Cut %d/%d): %s", ctx.Cart, ctx.Cut, err) |