Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
remove erroneous usage of Path
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbeedy committed Mar 15, 2023
1 parent f28638a commit ee22fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/munge_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _generate_munge_key(self) -> bytes:

def md5_sum_from_munge_key_on_fs(self) -> str:
"""Return the md5sum from the munge.key that exists on the system."""
munge_key_bytes = Path(self._munge_key_path).read_bytes()
munge_key_bytes = self._munge_key_path.read_bytes()
return hashlib.md5(munge_key_bytes).hexdigest()

def generate_munge_data(self, munge_key_as_str: Optional[str] = None) -> MungeData:
Expand Down

0 comments on commit ee22fe1

Please sign in to comment.