remove member from banned list
Is there a script that removes a member from the banned list, sort of the "undo" for http://www.msapiro.net/scripts/add_banned.py ?
- Ron
On 10/06/2013 02:28 PM, Ron Guerin wrote:
Is there a script that removes a member from the banned list, sort of the "undo" for http://www.msapiro.net/scripts/add_banned.py ?
You could always modify that script by changing the line
mlist.ban_list.append(address)
to the following two lines
if address in mlist.ban_list:
mlist.ban_list.remove(address)
You could also change its name, but that isn't mandatory.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 10/07/2013 8:52 PM, Mark Sapiro wrote:
On 10/06/2013 02:28 PM, Ron Guerin wrote:
Is there a script that removes a member from the banned list, sort of the "undo" for http://www.msapiro.net/scripts/add_banned.py [1] ?
You could always modify that script by changing the line
mlist.ban_list.append(address)
to the following two lines
if address in mlist.ban_list: mlist.ban_list.remove(address)
You could also change its name, but that isn't mandatory.
I'll be using both scripts, so I'll need to change one. Allow me to take this opportunity to thank you for your assistance and for all those other helper scripts you posted.
- Ron
participants (2)
-
Mark Sapiro
-
Ron Guerin