Skip to content

Commit cebf226

Browse files
authored
Merge pull request #5 from FusionSolutions/patch
Update to v0.0.6
2 parents 31363e9 + 07b6f0c commit cebf226

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fsSignal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.0.5"
1+
__version__ = "0.0.6"
22
__doc__ = """
33
Signal capturer v{}
44
Copyright (C) 2021 Fusion Solutions KFT <contact@fusionsolutions.io>

fsSignal/fsSignal.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import traceback, signal as _signal
44
from threading import Event
55
from time import monotonic, sleep
6-
from typing import Callable, Dict, Any, Iterator, Iterable, Optional, Union
6+
from typing import Callable, Dict, Any, Iterator, Iterable, Optional, Union, Type
77
# Third party modules
88
# Local modules
99
# Program
@@ -92,10 +92,10 @@ def reset(self) -> None:
9292
if isinstance(Signal._handler, Signal):
9393
return Signal._handler._reset()
9494
@classmethod
95-
def getSoftSignal(self) -> Any:
95+
def getSoftSignal(self) -> Type[BaseSignal]:
9696
return SoftSignal
9797
@classmethod
98-
def getHardSignal(self) -> Any:
98+
def getHardSignal(self) -> Type[BaseSignal]:
9999
return HardSignal
100100
@classmethod
101101
def isActivated(self) -> bool:

0 commit comments

Comments
 (0)