Fix export of IOU configuration

Fix https://github.com/GNS3/gns3-gui/issues/1745
This commit is contained in:
Julien Duponchelle
2017-01-10 15:50:35 +01:00
parent afd46ec010
commit df694ca9eb
2 changed files with 6 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class FileWatcher:
self._hashed = {}
for path in self._paths:
try:
# Alder32 is a fast bu insecure hash algorithm
# Alder32 is a fast but insecure hash algorithm
self._hashed[path] = zlib.adler32(open(path, 'rb').read())
except OSError:
self._hashed[path] = None