From 60978b972387e919643953761999befd08786a0f Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Tue, 18 Aug 2015 12:14:25 -0400 Subject: [PATCH] Fix wrong indentation in create_lulzbot_profiles script --- scripts/create_lulzbot_profiles.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/create_lulzbot_profiles.py b/scripts/create_lulzbot_profiles.py index 30fb268c..3e74dddf 100755 --- a/scripts/create_lulzbot_profiles.py +++ b/scripts/create_lulzbot_profiles.py @@ -128,15 +128,15 @@ 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 + 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__': -- 2.30.2