Skip to content

Commit 487c7d2

Browse files
committed
cleaned up the code
1 parent b0053c8 commit 487c7d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_hackrf/pyhackrf_tools/pyhackrf_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from python_hackrf import pyhackrf
2424

2525

26-
def pyhackrf_info(print_to_console: bool = True, initialize: bool = True) -> None | str:
26+
def pyhackrf_info(print_to_console: bool = True, initialize: bool = True) -> str | None:
2727
if initialize:
2828
pyhackrf.pyhackrf_init()
2929

@@ -72,7 +72,7 @@ def pyhackrf_info(print_to_console: bool = True, initialize: bool = True) -> Non
7272
return print_info
7373

7474

75-
def pyhackrf_serial_numbers_list_info(print_to_console: bool = True, initialize: bool = True) -> None | tuple[int, list]:
75+
def pyhackrf_serial_numbers_list_info(print_to_console: bool = True, initialize: bool = True) -> tuple[int, list] | None:
7676
if initialize:
7777
pyhackrf.pyhackrf_init()
7878

0 commit comments

Comments
 (0)