Browse Source

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

Baptiste Jonglez 10 years ago
parent
commit
1e15ed3557
1 changed files with 1 additions and 1 deletions
  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