ljm565 commited on
Commit
204b94c
·
1 Parent(s): 3d50288

feat: Fixed version.txt bug

Browse files
Files changed (1) hide show
  1. utils/__init__.py +2 -1
utils/__init__.py CHANGED
@@ -3,8 +3,9 @@ import logging.config
3
 
4
 
5
 
6
- base_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
7
  try:
 
8
  version_file_path = os.path.join(base_path, 'version.txt')
9
  LOGGING_NAME = f"Simulation_Arena_{open(version_file_path).read().strip()}"
10
  except:
 
3
 
4
 
5
 
6
+ base_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
7
  try:
8
+ print(base_path)
9
  version_file_path = os.path.join(base_path, 'version.txt')
10
  LOGGING_NAME = f"Simulation_Arena_{open(version_file_path).read().strip()}"
11
  except: