diff --git a/gns3server/utils/images.py b/gns3server/utils/images.py index 02055a65..69234518 100644 --- a/gns3server/utils/images.py +++ b/gns3server/utils/images.py @@ -36,7 +36,8 @@ def md5sum(path): try: with open(path + '.md5sum') as f: return f.read() - except OSError: + # Unicode error is when user rename an image to .md5sum .... + except (OSError, UnicodeDecodeError): pass try: