Skip to content

Commit 6f684fb

Browse files
committed
Disable trial features
1 parent ee97d4a commit 6f684fb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

RemoveBase.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ def run(self):
6262
for page in self.category:
6363
if page.title() == "Template:Uw-corpname":
6464
continue
65-
if counter >= self.count:
66-
print("\n\nDONE TRIAL\n\n")
67-
return
65+
if self.trial:
66+
if counter >= self.count:
67+
print("\n\nDONE TRIAL\n\n")
68+
return
6869
try:
6970
user = self.generate_user(page)
7071
except AttributeError:

remove_coi_blocked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
rmBlocked = RemoveBlocked(log_name="block_coi_removed_may_26_2020.txt",
55
category="User talk pages with conflict of interest notices",
66
target="[[Category:User talk pages with conflict of interest notices|{{PAGENAME}}]]",
7-
brfa="TheSandBot 10", trial=True, count=36)
7+
brfa="TheSandBot 10")
88
try:
99
rmBlocked.run()
1010
except KeyboardInterrupt:

0 commit comments

Comments
 (0)