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

Type argument is now optional #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

burdier
Copy link

@burdier burdier commented Oct 12, 2019

it makes sense to have a template by default

Copy link
Owner

@ozanonurtek ozanonurtek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the way you think and I'll try it on my machine 👍 It looks good

@burdier
Copy link
Author

burdier commented Oct 13, 2019

I like the way you think and I'll try it on my machine 👍 It looks good

Nice.

Copy link
Owner

@ozanonurtek ozanonurtek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boilerplate_code.get(app_type,'simple')
This returns 'simple' if app_type not in boilerplate dictionary and because of that shutil throws:
No such file or directory: 'simple'
instead of just 'simple' we should create a fallback for: '{directory_name}/flask_now/templates/simple'.
Could you please review your code and refactor it for us.

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

Successfully merging this pull request may close these issues.

2 participants