mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
fix a typo
This commit is contained in:
@@ -77,8 +77,8 @@ if __name__ == '__main__':
|
||||
start_time = time.time()
|
||||
data = get_apnic_delegated()
|
||||
|
||||
if hasattr(parser, 'output'):
|
||||
with open(parser.output, 'w') as fp:
|
||||
if hasattr(args, 'output'):
|
||||
with open(args.output, 'w') as fp:
|
||||
generate_ipset(data, name, location_set, type_set, fp)
|
||||
else:
|
||||
generate_ipset(data, name, location_set, type_set, sys.stdout)
|
||||
|
||||
Reference in New Issue
Block a user