another hash
This commit is contained in:
1 parent
99d7157cb7
commit
41146c2b7c
1 file changed
+2
-2
@@ -292,8 +292,8 @@ class TrackingPlugin(octoprint.plugin.SettingsPlugin,
|
||||
return
|
||||
|
||||
sha = hashlib.sha1()
|
||||
sha.update(payload.get("path"))
|
||||
sha.update(unique_id)
|
||||
sha.update(payload.get("path").encode("utf-8"))
|
||||
sha.update(unique_id.encode("utf-8"))
|
||||
|
||||
track_event = None
|
||||
args = dict(origin=payload.get("origin"), file=sha.hexdigest())
|
||||
|
||||
Reference in new issue
Block a user