Commits

Lars Yencken  committed e25120d

Fix use of DOKO_PRECISION environment variable.

  • Participants
  • Parent commits 50f3719

Comments (0)

Files changed (1)

File doko/__init__.py

 
     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"