Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users table in Router should contain Dicts, not Lists. #43

Closed
seisatsu opened this issue Feb 19, 2019 · 0 comments
Closed

Users table in Router should contain Dicts, not Lists. #43

seisatsu opened this issue Feb 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@seisatsu
Copy link
Owner

seisatsu commented Feb 19, 2019

The users table in the Router in server.py would be cleaner if each user was represented as a dict with keys "service" and "console", rather than the list [service, console.Console(dbman, peer, self)]. This would make code more readable in some other places as well, such as the break item, unduplify item, and requisition commands, and anywhere else where we have to step through the list of all online users.

@seisatsu seisatsu added the enhancement New feature or request label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant