diff --git a/motoflash2sh.py b/motoflash2sh.py index 21644da..6622a19 100644 --- a/motoflash2sh.py +++ b/motoflash2sh.py @@ -52,7 +52,7 @@ def main(): md5sums = {} sha1sums = {} - for step in steps.getchildren(): + for step in steps: assert step.tag == 'step' if 'MD5' in step.keys() and 'filename' in step.keys(): md5sums[step.get('filename')] = step.get('MD5') @@ -64,7 +64,7 @@ def main(): checksums = checker + ' --check <