mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix export of IOU configuration
Fix https://github.com/GNS3/gns3-gui/issues/1745
This commit is contained in:
2 files changed
+6
-2
No files matched your search
@@ -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