]> git.parisson.com Git - teleforma.git/commitdiff
fix indent
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 28 Jul 2014 14:00:19 +0000 (16:00 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 28 Jul 2014 14:00:19 +0000 (16:00 +0200)
teleforma/management/commands/teleforma-init-wifi-pass.py

index 569656025e00af8fbec30b5cee03c14dbedca70d..31dcab0380eb3002b44e28ca0d828a174d2c5d7b 100644 (file)
@@ -17,10 +17,10 @@ def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
 
 class Command(BaseCommand):
     help = "init all user wifi pass"
-       args = 'path'
+    args = 'path'
 
     def handle(self, *args, **options):
-       path = args[0]
+        path = args[0]
         f = open(path, 'w')
 
         for user in User.objects.all():
@@ -31,4 +31,4 @@ class Command(BaseCommand):
                 profile.save()
                 f.write(profile.wifi_login + ',' + profile.wifi_pass + '\n')
 
-               f.close()
+        f.close()