fixup! sync: Extract function that import flags from importer

This commit is contained in:
nemunaire 2019-07-10 16:58:20 +02:00
parent a3d473983d
commit 4c7fd839b6

View file

@ -4,9 +4,9 @@ import (
"encoding/hex"
"fmt"
"log"
"time"
"path"
"strings"
"time"
)
// DisplayAllFlags doesn't respect the predefined constraint existing between flags.
@ -296,7 +296,7 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
}
if t == nil {
h := getHashedFlag([]byte(soluce))
h := ComputeHashedFlag([]byte(soluce))
m.Soluce = hex.EncodeToString(h[:])
}