|
@ -146,7 +146,7 @@ class IrModuleModule(models.Model): |
|
|
|
|
|
|
|
|
for file_path, file_ext in file_list: |
|
|
for file_path, file_ext in file_list: |
|
|
file_res = SourceAnalysis.from_file( |
|
|
file_res = SourceAnalysis.from_file( |
|
|
file_path, '', |
|
|
|
|
|
|
|
|
file_path, "", |
|
|
encoding=self._get_module_encoding(file_ext)) |
|
|
encoding=self._get_module_encoding(file_ext)) |
|
|
for k, v in analysed_datas.get(file_ext).items(): |
|
|
for k, v in analysed_datas.get(file_ext).items(): |
|
|
v['value'] += getattr(file_res, k) |
|
|
v['value'] += getattr(file_res, k) |
|
|