Skip to content

Commit

Permalink
#10: Fix logging string and make target.
Browse files Browse the repository at this point in the history
  • Loading branch information
zgypa committed Jun 23, 2024
1 parent f0ed116 commit 0fe6a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ DIST = ./dist

LINTER = $$(which pylint) --errors-only

.PHONY: default
default: clean build

.PHONY: lint
lint:
Expand All @@ -35,8 +37,6 @@ clean:
echo "Cleaned up $(DIST) folder."
rm -rf *.egg-info
echo "Removed all .egg-info files."
rm -f test/resources/*.dcm
echo "Removed *.dcm files in test/resources."
find . -path "*/__pycache*" -delete
echo "Deleted all __pycache files."
rm -rf $(D3TOOLS_DIR)
Expand Down
2 changes: 1 addition & 1 deletion dicom4ortho/pacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ def send_to_pacs_wado(dicom_file_path, dicomweb_url, username=None, password=Non
logger.info('DICOM instance successfully stored.')
else:
logger.error(f'Failed to store DICOM instance. Status code: {response.status_code}')
logger.error('Response:', response.text)
logger.error(f'Response: {response.text}')

0 comments on commit 0fe6a68

Please sign in to comment.