svgui/pyjs/__init__.py
author Surkov Sergey <surkovsv93@gmail.com>
Fri, 12 Jan 2018 18:33:54 +0300
changeset 1963 cded8d8a0485
parent 1853 47a3f39bead0
permissions -rw-r--r--
fix rounding milliseconds from nanoseconds

example:rounding 299999 ns to 300ms, if division result is an
integer, remainder will be lost, and result will be 299.
1853
47a3f39bead0 fix pylint warning "(relative-import) Relative import 'Y', should be 'X.Y'"
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1748
diff changeset
     1
from __future__ import absolute_import
47a3f39bead0 fix pylint warning "(relative-import) Relative import 'Y', should be 'X.Y'"
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1748
diff changeset
     2
from svgui.pyjs.pyjs import *