mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
fix: escape sequence
This commit is contained in:
@@ -486,7 +486,7 @@ class HWConnect(BaseCLIUnit):
|
||||
" where {$_.DeviceID -like '*VID_6868&PID_8686*'} |"
|
||||
" Select-Object -First 1 FriendlyName |"
|
||||
" % FriendlyName |"
|
||||
" select-string COM\d+ |"
|
||||
" select-string COM\\d+ |"
|
||||
"% { $_.matches.value }"], stdout=subprocess.PIPE)
|
||||
res = process.communicate()[0]
|
||||
_comport = res.decode('utf-8').strip()
|
||||
|
||||
Reference in New Issue
Block a user