mirror of
https://github.com/gryf/ebook-converter.git
synced 2025-12-31 14:42:27 +01:00
14 lines
409 B
Python
14 lines
409 B
Python
# vim:fileencoding=utf-8
|
|
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
|
|
try:
|
|
from time import monotonic
|
|
except ImportError:
|
|
from calibre.constants import plugins
|
|
|
|
monotonicp, err = plugins['monotonic']
|
|
if err:
|
|
raise RuntimeError('Failed to load the monotonic module with error: ' + err)
|
|
monotonic = monotonicp.monotonic
|
|
del monotonicp, err
|