Parcourir la source

Use python3-style division even with python2, to avoid weird bugs with computations

Baptiste Jonglez il y a 10 ans
Parent
commit
1e15ed3557
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      panorama/models.py

+ 1 - 1
panorama/models.py

@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-from __future__ import unicode_literals
+from __future__ import unicode_literals, division, print_function
 
 import subprocess
 import os