Commits

Lars Yencken committed e25120d

Fix use of DOKO_PRECISION environment variable.

Comments (0)

Files changed (1)

 
     if os.getenv("DOKO_PRECISION"):
         try:
-            Location.set_precision(os.getenv("DOKO_PRECISION"))
+            Location.set_precision(int(os.getenv("DOKO_PRECISION")))
         except ValueError:
             raise "Invalid value in DOKO_PRECISION"