From ce3d53d59cba7699e8588e93d40c9e0a99eb237e Mon Sep 17 00:00:00 2001 From: Cyril Lakech Date: Sat, 8 Dec 2012 23:06:28 +0100 Subject: [PATCH] Fix syntax error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [RasPiWrite-master]$ sudo ./raspiwrite.py  Password:   File "./raspiwrite.py", line 177     else        ^ SyntaxError: invalid syntax --- raspiwrite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspiwrite.py b/raspiwrite.py index 054f93a..af77eeb 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 + '...'