Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
sbliven committed Nov 28, 2023
1 parent 0906579 commit 18af4e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyscicat/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import json
import logging
from datetime import datetime
from typing import Optional
from pathlib import Path
from typing import Optional
from urllib.parse import quote_plus, urljoin

import requests
Expand Down Expand Up @@ -784,7 +784,7 @@ def get_file_size(pathobj: Path):


def get_checksum(pathobj: Path):
with open(pathobj,'rb') as file_to_check:
with open(pathobj, "rb") as file_to_check:
# pipe contents of the file through
return hashlib.md5(file_to_check.read()).hexdigest()

Expand Down

0 comments on commit 18af4e3

Please sign in to comment.