Skip to content

Commit 71083c4

Browse files
fixed version error messages (#4640)
1 parent 86d95f5 commit 71083c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

software/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def Setup():
2020
if sys.version_info < REQUIRED_VERSION:
2121
sys.stderr.write(
2222
f"Python version {sys.version_info.major}.{sys.version_info.minor} "
23-
"not supported version {REQUIRED_VERSION[0]}.{REQUIRED_VERSION[1]} "
23+
f"not supported version {REQUIRED_VERSION[0]}.{REQUIRED_VERSION[1]} "
2424
"or above required - Exiting\n"
2525
)
2626
sys.exit(os.EX_CONFIG)
@@ -49,7 +49,7 @@ def CheckWorkingDirectory():
4949
for directory_name in DATA_PATHS:
5050
if not os.path.isdir(directory_name):
5151
sys.stderr.write(
52-
'Required directory {directory_name} not found - Exiting\n'
52+
f'Required directory {directory_name} not found - Exiting\n'
5353
)
5454
sys.exit(os.EX_CONFIG)
5555

0 commit comments

Comments
 (0)