mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-29 09:45:01 -05:00
13 lines
383 B
Python
13 lines
383 B
Python
#!/usr/bin/env python2
|
|
# vim:fileencoding=utf-8
|
|
# License: GPL v3 Copyright: 2019, Eli Schwartz <eschwartz@archlinux.org>
|
|
|
|
from polyglot.builtins import is_py3
|
|
|
|
if is_py3:
|
|
from http.cookies import SimpleCookie # noqa
|
|
from http.cookiejar import CookieJar, Cookie # noqa
|
|
else:
|
|
from Cookie import SimpleCookie # noqa
|
|
from cookielib import CookieJar, Cookie # noqa
|