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 | 326e1353c0b7e0ac5e518d04e7fb5337036cf43d (patch) | |
tree | a67dcb83657a0cdab5cee45c10535a574809209c /src/helsinki.at/rhimport | |
parent | 60232a24d5501a2558888cbd9e8635edc545b8ef (diff) |
minor documenation improvement
Diffstat (limited to 'src/helsinki.at/rhimport')
-rw-r--r-- | src/helsinki.at/rhimport/importer.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helsinki.at/rhimport/importer.go b/src/helsinki.at/rhimport/importer.go index 406c58e..abc99e8 100644 --- a/src/helsinki.at/rhimport/importer.go +++ b/src/helsinki.at/rhimport/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) |