From: Youness Alaoui Date: Tue, 18 Aug 2015 16:14:25 +0000 (-0400) Subject: Fix wrong indentation in create_lulzbot_profiles script X-Git-Tag: lulzbot-15.02.1-2.02~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=60978b972387e919643953761999befd08786a0f;p=cura.git Fix wrong indentation in create_lulzbot_profiles script --- 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__':