Skip to content

Commit

Permalink
Remove unnecessary open mode parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbilling committed Jan 10, 2025
1 parent acb7a4f commit 54f1b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class Config:
API_DOCS_TITLE: str = f'{MICRO_SERVICE_NAME_FOR_HUMANS} API'
API_DOCS_VERSION: str = '3.0.0-alpha.1'
try:
with open('.version', 'r') as version_file:
with open('.version') as version_file:
API_DOCS_VERSION: str = version_file.read().strip()
except Exception as e:
logging.error(f'Error reading version file: {e}')
Expand Down

0 comments on commit 54f1b8a

Please sign in to comment.