Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_lulzbot_profiles.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/create_lulzbot_profiles.py b/scripts/create_lulzbot_profiles.py
index 11cb2bf0b0..30fb268cef 100755
--- a/scripts/create_lulzbot_profiles.py
+++ b/scripts/create_lulzbot_profiles.py
@@ -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()