mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-29 12:22:52 +03:00
Fix windows regex for PID.
This commit is contained in:
parent
02ae231162
commit
33689879af
@ -199,7 +199,7 @@ def _get_pids_osx():
|
||||
|
||||
|
||||
def _get_pids_win():
|
||||
pid_pattern = re.compile(r'PID_([0-9A-F])')
|
||||
pid_pattern = re.compile(r'PID_([0-9A-F]{4})')
|
||||
pids = []
|
||||
startupinfo = subprocess.STARTUPINFO()
|
||||
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
|
||||
|
Loading…
Reference in New Issue
Block a user