Skip to content

remove code duplication in helpers.py

zseri requested to merge zseri/onionsproutsbot:dry into main

inline the single used 4-line function from helpers.py to bot.py;

all other functions defined in that file were duplicated in ui.py, and unsused.

This commit also fixes a nitpick in ui.py: replace range(len(...)) with enumerate(...)

Edited by zseri

Merge request reports

Loading