Fixed some issues reported by SonarQube.

This commit is contained in:
Pradip Parkale
2021-03-19 11:56:12 +05:30
committed by Akshay Joshi
parent f5cc1d1c7e
commit 24dc7f4a91
4 changed files with 11 additions and 22 deletions

View File

@@ -608,7 +608,7 @@ class Filemanager(object):
created = time.ctime(os.path.getctime(system_path))
modified = time.ctime(os.path.getmtime(system_path))
file_extension = str(splitext(system_path))
except Exception as e:
except Exception:
continue
# set protected to 1 if no write or read permission