Skip to content

Commit afc7065

Browse files
committed
Add unblock functionality for TSB 7
1 parent 23f6dc0 commit afc7065

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

remove_unblocked.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
if __name__ == "__main__":
44
rmBlocked = RemoveUnblocked(log_name="unblocked_removed_mar_17_2020.txt",
5-
category="[[:Category:Wikipedians who are indefinitely blocked for promotional user names]]",
6-
target="[[Category:Wikipedians who are indefinitely blocked for promotional user names|{{PAGENAME}}]]",
7-
brfa="TheSandBot 7")
8-
rmBlocked.run()
5+
category="Wikipedians who are indefinitely blocked for promotional user names",
6+
target="[[Category:Wikipedians who are indefinitely blocked for promotional user names|{{PAGENAME}}]]",
7+
backup_target="[[Category:Wikipedians who are indefinitely blocked for promotional user names||{{PAGENAME}}]]",
8+
brfa="TheSandBot 7")
9+
try:
10+
rmBlocked.run()
11+
except KeyboardInterrupt:
12+
print("\n")

0 commit comments

Comments
 (0)