File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def __init__(self, config: ConfigParser):
2727 if not self .site .logged_in ():
2828 raise RuntimeError ("Login with pywikibot failed." )
2929 # Set throttle to 0 to speed up write operations (otherwise pywikibot would wait up to 10s after each write)
30- self .site .throttle .setDelays (delay = 0 , writedelay = 0 , absolute = True )
30+ self .site .throttle .set_delays (delay = 0 , writedelay = 0 , absolute = True )
3131 self .fortraininglib : ForTrainingLib = ForTrainingLib (family .base_url (code , '' ),
3232 family .scriptpath (code ))
3333
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def __init__(
100100
101101 # Set throttle to 0 to speed up write operations
102102 # (otherwise pywikibot would wait up to 10s after each writing)
103- self .site .throttle .setDelays (delay = 0 , writedelay = 0 , absolute = True )
103+ self .site .throttle .set_delays (delay = 0 , writedelay = 0 , absolute = True )
104104 self .fortraininglib : ForTrainingLib = ForTrainingLib (
105105 family .base_url (code , "" ), family .scriptpath (code )
106106 )
You can’t perform that action at this time.
0 commit comments