Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: your output path default not exists #5

Closed
LandGrey opened this issue Jul 30, 2017 · 1 comment
Closed

bug: your output path default not exists #5

LandGrey opened this issue Jul 30, 2017 · 1 comment

Comments

@LandGrey
Copy link

LandGrey commented Jul 30, 2017

line 197 in teemo.py:
your output path default not exists(maybe forget it when git push)
you can fix it, such as:
import sys
then

        output_dir = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), 'output')
        if not os.path.isdir(output_dir):
            os.mkdir(output_dir)
        savefile = os.path.join(output_dir, "%s%s.txt" % (domain,timestr))
@bit4woo
Copy link
Owner

bit4woo commented Jul 31, 2017

thanks, bug has fixed.

@bit4woo bit4woo closed this as completed Jul 31, 2017
bit4woo added a commit that referenced this issue Jul 31, 2017
fix bug(#5 output not exists)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants