Skip to content

Commit

Permalink
Update config_generate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OasisAkari committed Dec 16, 2024
1 parent bfc7db8 commit e448110
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/scripts/config_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ def generate_config(dir_path, language):
if s.strip() == '':
spl.remove(s)
try:
eval(f'Config({','.join(spl)})') # Execute the code to generate the config file, yeah, just stupid but works
# Execute the code to generate the config file, yeah, just stupid but works
eval(f'Config({','.join(spl)})')
except (NameError, TypeError):
# traceback.print_exc()
...
Expand Down

0 comments on commit e448110

Please sign in to comment.