Fixed a problem with handling gzip files #5

Merged
merged 2 commits into from Jun 13, 2012
View
12 raspiwrite.py 100644 → 100755
@@ -340,12 +340,12 @@ def getImage(SD): #gives the user a bunch of options to download an image, or se
print 'Found Zip'
#findDL('debian')
transfer(userLocate,'zip','usr',SD,'none')
- if matchGzip is not None:
- print 'found Gzip'
- transfer(userLocate, 'zip', 'usr',SD,'none')
- if matchBzip is not None:
- print 'found Bz2'
- transfer(userLocate, 'bz2', 'usr',SD,'none')
+ if matchGzip is not None:
+ print 'found Gzip'
+ transfer(userLocate, 'gz', 'usr',SD,'none')
+ if matchBzip is not None:
+ print 'found Bz2'
+ transfer(userLocate, 'bz2', 'usr',SD,'none')
else: