Skip to content

Commit 709a3fa

Browse files
committed
fix(setup): Correct NameError in first-time setup
Fixed a typo ('edis_choice' -> 'redis_choice') that caused a crash during the interactive configuration process.
1 parent db96041 commit 709a3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

omnipkg/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ def _first_time_setup(self, interactive=True) -> Dict:
15771577
final_config['multiversion_base'] = bubble_path
15781578
python_path = input(_('Python executable path [{}]: ').format(defaults['python_executable'])).strip() or defaults['python_executable']
15791579
final_config['python_executable'] = python_path
1580-
edis_choice = input(_('⚡️ Attempt to use Redis for high-performance caching? (y/n) [y]: ')).strip().lower()
1580+
redis_choice = input(_('⚡️ Attempt to use Redis for high-performance caching? (y/n) [y]: ')).strip().lower()
15811581
final_config['redis_enabled'] = redis_choice != 'n'
15821582
if final_config['redis_enabled']:
15831583
# Only ask for host and port if Redis is enabled

0 commit comments

Comments
 (0)