mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-12-26 09:58:55 +01:00
Undefined name: strip(uuidnum) --> uuidnum.strip()
This commit is contained in:
parent
0955713cd6
commit
eddbefcf91
1 changed files with 1 additions and 1 deletions
|
@ -1308,7 +1308,7 @@ elif isosx:
|
|||
uuids = []
|
||||
uuidnum = os.getenv('MYUUIDNUMBER')
|
||||
if uuidnum != None:
|
||||
uuids.append(strip(uuidnum))
|
||||
uuids.append(uuidnum.strip())
|
||||
cmdline = '/usr/sbin/ioreg -l -S -w 0 -r -c AppleAHCIDiskDriver'
|
||||
cmdline = cmdline.encode(sys.getfilesystemencoding())
|
||||
p = subprocess.Popen(cmdline, shell=True, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=False)
|
||||
|
|
Loading…
Reference in a new issue