From 97ad3555451cb3037cf72c951ead55a7b6b29667 Mon Sep 17 00:00:00 2001 From: Jason Harmon Date: Mon, 11 Feb 2013 20:52:07 -0600 Subject: [PATCH] Fixed tabbing errors which broke script --- raspiwrite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/raspiwrite.py b/raspiwrite.py index 054f93a..c33bf67 100755 --- a/raspiwrite.py +++ b/raspiwrite.py @@ -174,7 +174,7 @@ def run ( self ): global path if OS[0] != 'Darwin': copyString = 'dd bs=1M if=%s of=%s' % (path,SDsnip) - else + else: copyString = 'dd bs=1m if=%s of=%s' % (path,SDsnip) print 'Running ' + copyString + '...' @@ -272,10 +272,10 @@ def transfer(file,archiveType,obtain,SD,URL): #unzips the disk image SDsnip = "/dev/mmcblk" + SD[11] else: if OS[0] != 'Darwin': - SDsnip = SD.replace(' ', '')[:-1] + SDsnip = SD.replace(' ', '')[:-1] else: # remove weird partition notation in OS X partition names - SDsnip = SD.replace(' ', '')[:-2] + SDsnip = SD.replace(' ', '')[:-2] print path print '\n\n###################################################################'