diff options
Diffstat (limited to 'mat-cli')
| -rwxr-xr-x | mat-cli | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -152,8 +152,10 @@ def main(): | |||
| 152 | for filename in filenames: | 152 | for filename in filenames: |
| 153 | class_file = mat.create_class_file(filename, args.backup, | 153 | class_file = mat.create_class_file(filename, args.backup, |
| 154 | args.add2archive) | 154 | args.add2archive) |
| 155 | if class_file is not None: | 155 | if class_file is not False: |
| 156 | func(class_file, filename, args.force) | 156 | func(class_file, filename, args.force) |
| 157 | else: | ||
| 158 | print('Unable to process %s' % filename) | ||
| 157 | 159 | ||
| 158 | if __name__ == '__main__': | 160 | if __name__ == '__main__': |
| 159 | main() | 161 | main() |
