You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The Viron address is hardcoded in both entry points #60
The Viron address is fixed in source, in two places since #59: url and port in main.py (lines 25-26) and the same constants in console_view.py. Reaching a Viron on another host or port requires editing both. main() accepts locationService and environmentService arguments, so a program calling it directly can already point elsewhere, but neither command line can. console_view.py cannot import the constants from main.py, since that would pull in Pygame.
Suggested direction
One Pygame-free source for the address, read by both entry points, for example environment variables with the current values as defaults. Any bearer token work for #41 would naturally sit in the same place.
Acceptance criteria
Both entry points take the Viron address from one place, with http://localhost:9999 remaining the default.
A unit test covers the default and the override.
The README's Starting Viron section states how the address is changed.
Activity