Skip to content

Commit

Permalink
Refs skycoin#17, minor syntax correction and spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevPavelmc committed May 5, 2019
1 parent 81eceb0 commit 5c4938c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions skyflash/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,11 @@ def getWinGUID(drive):
Tip: if ithas no letter windows can't handle it, so no worry
'''

l= sysexec("wmic volume get Capacity,DeviceID,DriveLetter /format:csv")
l = sysexec("wmic volume get DeviceID,DriveLetter /format:csv")
listd = csv.reader(l)
header = next(listd)

# extracted fields
sizeh = header.index("Capacity")
guidh = header.index("DeviceID")
letter = header.index("DriveLetter")

Expand Down

0 comments on commit 5c4938c

Please sign in to comment.