Fix export of IOU configuration

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

No files matched your search

+1 -1
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