Skip to content

Commit

Permalink
Merge pull request #244 from painebot/tkp/hash
Browse files Browse the repository at this point in the history
Inlude type in resource hash
  • Loading branch information
vidartf authored Feb 21, 2025
2 parents 4314e8e + 6eb2f89 commit 04c28e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyterfs/metamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def initResource(self, *resources, options={}):
resource["kwargs"] = {}

# get deterministic hash of PyFilesystem url
_hash = md5(resource["url"].encode("utf-8")).hexdigest()[:8]
_hash = md5((resource["url"] + resource["type"]).encode("utf-8")).hexdigest()[:8]
init = False
missingTokens = None
errors = []
Expand Down

0 comments on commit 04c28e2

Please sign in to comment.