mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-12 09:36:35 +01:00
fixes after change to src-layout
This commit is contained in:
parent
3e4476e317
commit
144c9e6320
10 changed files with 63 additions and 21 deletions
|
|
@ -39,7 +39,7 @@ Usage:
|
|||
with Capturing() as output:
|
||||
print("Output")
|
||||
'''
|
||||
# TODO remove type ignore when fixed, see https://github.com/python/mypy/issues/11871, https://stackoverflow.com/questions/72174409/type-hinting-the-return-value-of-a-class-method-that-returns-self
|
||||
# TODO remove type ignore if fixed, see https://github.com/python/mypy/issues/11871, https://stackoverflow.com/questions/72174409/type-hinting-the-return-value-of-a-class-method-that-returns-self
|
||||
def __enter__(self): # type: ignore
|
||||
self._stdout = sys.stdout
|
||||
sys.stdout = self._stringio_std = io.StringIO()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue