mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-21 08:29:43 +00:00
Fix export of IOU configuration
Fix https://github.com/GNS3/gns3-gui/issues/1745
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user