Skip to content

Commit 87571d4

Browse files
committed
Fix typo error
'self' was used instead of using the 'rotator' object
1 parent ff00c56 commit 87571d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rotate_proxies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,9 +681,9 @@ def make_new_ec2(self, test=False, verbose=False):
681681

682682
if args.writeconfig:
683683
# Load current proxies config and write proxies.list file
684-
if self.config.vps_provider == 'linode':
684+
if rotator.config.vps_provider == 'linode':
685685
print >> open('proxies.list', 'w'), rotator.linode_cmd.linode_list_proxies().strip()
686-
elif self.config.vps_provider == 'aws':
686+
elif rotator.config.vps_provider == 'aws':
687687
print >> open('proxies.list', 'w'), rotator.aws_command.list_proxies().strip()
688688
print 'Saved current proxy configuration to proxies.list'
689689
sys.exit(0)

0 commit comments

Comments
 (0)