twitterBFTD icon indicating copy to clipboard operation
twitterBFTD copied to clipboard

IOError: [Errno 2] No such file or directory: 'accounts_leftover'

Open niksthehacker opened this issue 7 years ago • 1 comments

Line 54: with open('accounts_leftover') as f:

This should be open('accounts') in order to open accounts file, otherwise it will give an error: IOError: [Errno 2] No such file or directory: 'accounts_leftover'

niksthehacker avatar Sep 05 '17 08:09 niksthehacker

A better way would probably use argparse to take a file as input. I will make a PR as soon as it counts for hacktoberfest :)

benichmt1 avatar Sep 28 '17 14:09 benichmt1