Skip to content

Type argument is now optional#7

Open
burdier wants to merge 1 commit into
ozanonurtek:masterfrom
burdier:Do-type-optional
Open

Type argument is now optional#7
burdier wants to merge 1 commit into
ozanonurtek:masterfrom
burdier:Do-type-optional

Conversation

@burdier
Copy link
Copy Markdown

@burdier burdier commented Oct 12, 2019

it makes sense to have a template by default

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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