Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

Commit

Permalink
Update Yuuno to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stuxcrystal committed Oct 25, 2018
1 parent bdd30df commit 6374f5e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

setup(
name='yuuno-core',
version='1.0',
version='1.0.1',
description="Yuuno-Core - Extract frames from videos.",
long_description=readme + '\n\n' + history,
author="stuxcrystal",
Expand Down
2 changes: 1 addition & 1 deletion yuuno/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

__author__ = """stuxcrystal"""
__email__ = '[email protected]'
__version__ = '1.0'
__version__ = '1.0.1'


if sys.version_info < (3, 6):
Expand Down
9 changes: 5 additions & 4 deletions yuuno/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ def set_exception(self, etype: Type[BaseException], eval: BaseException, tb: Tra
def add_done_callback(self, cb: 'Future[T]') -> None: pass


if TYPE_CHECKING:
from asyncio import Future as AIOFut
Future.register(AIOFut)
Future.register(ConcFuture)
if hasattr(Future, "register"):
if TYPE_CHECKING:
from asyncio import Future as AIOFut
Future.register(AIOFut)
Future.register(ConcFuture)


def inline_resolved(func: Callable[..., T]) -> Callable[..., Future[T]]:
Expand Down

0 comments on commit 6374f5e

Please sign in to comment.