chiark / gitweb /
Cleanup whitespace
authornickthetait <tait@alephobjects.com>
Mon, 17 Aug 2015 20:12:24 +0000 (14:12 -0600)
committernickthetait <tait@alephobjects.com>
Mon, 17 Aug 2015 20:12:24 +0000 (14:12 -0600)
scripts/create_lulzbot_profiles.py

index 11cb2bf0b0bc3a0916e43c1c263ea52168df84fd..30fb268ceff2c5697891e6a93ea8929e90baa7d9 100755 (executable)
@@ -127,17 +127,17 @@ def create_machine_type(machine_type, path, dir):
 
 def main():
     if not os.path.exists(CURA_QUICKPRINT_DIR):
-       print "Cura path is wrong"
-       return -1
+        print "Cura path is wrong"
+    return -1
 
     dirs = glob.glob(os.path.join(CURA_QUICKPRINT_DIR, PROFILES_DIR, "*"))
 
     for d in dirs:
         dir = os.path.basename(d)
-       if dir_map.has_key(dir):
-           for machine_type in dir_map[dir]:
-               create_machine_type(machine_type, d, dir)
+    if dir_map.has_key(dir):
+        for machine_type in dir_map[dir]:
+            create_machine_type(machine_type, d, dir)
 
 
 if __name__ == '__main__':
-       main()
+    main()