Remove or implement empty if len(resp) > 0: pass blocks in complete_game
#38
Labels
No Label
ai-changes-requested
ai-failed
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
ai-working
bug
enhancement
feature
in-queue
performance
security
tech-debt
todo
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-discord#38
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
command_logic/logic_gameplay.py:4299-4309. After posting plays/decisions to API, stubs withpasssuggest missing validation or follow-up logic.Fixed in PR #71: #71
Removed both
if len(resp) > 0: passstubs and the now-unusedresp =variable assignments. Thedb_post()calls now run without capturing the return value since it was never used.Addressed in PR #104. Removed two
resp = await db_post(...) / if len(resp) > 0: passpatterns incommand_logic/logic_gameplay.py—respwas captured but never used, and the if-pass block was a no-op.