diff --git a/Handler/CreateChallenge.hs b/Handler/CreateChallenge.hs index d3eea85..9f6002f 100644 --- a/Handler/CreateChallenge.hs +++ b/Handler/CreateChallenge.hs @@ -137,7 +137,7 @@ checkTestDir chan challengeId challenge commit testDir = do testChecksum=(SHA1 checksum), testCommit=commit, testActive=True, - testPrecision=geoPrecision opts} + testPrecision=gesPrecision $ geoSpec opts} return () else msg chan $ concat ["Test dir ", (T.pack testDir), " does not have expected results."] diff --git a/gonito.cabal b/gonito.cabal index 44edd5d..94e9ead 100644 --- a/gonito.cabal +++ b/gonito.cabal @@ -121,7 +121,7 @@ library , filemanip , cryptohash , markdown - , geval >= 0.2.2.0 + , geval >= 0.5.0.0 , filepath , yesod-table , regex-tdfa