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

Check that the choosen page-dir exists before SNARE is launched. The … #4

Merged
merged 2 commits into from
Jan 14, 2016

Conversation

nsmfoo
Copy link
Contributor

@nsmfoo nsmfoo commented Jan 13, 2016

…current function is to start SNARE but the "user" is unable to see the page (as it does not exist).

…current function is to start SNARE but the "user" is uanble to see the page (as it does not exist).
@glaslos
Copy link
Member

glaslos commented Jan 13, 2016

Can you use 4 spaces for indentation?

srv = loop.run_until_complete(future)
print("""
if not os.path.exists('/opt/snare/pages/' + args.page_dir):
print("--page-dir: " + args.page_dir + " does not exist")
Copy link
Member

Choose a reason for hiding this comment

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

print("--page-dir: {0} does not exist".format(args.page_dir))

glaslos added a commit that referenced this pull request Jan 14, 2016
Check that the choosen page-dir exists before SNARE is launched. The …
@glaslos glaslos merged commit 441dc0c into mushorg:master Jan 14, 2016
viskey98 added a commit to viskey98/snare that referenced this pull request May 3, 2018
afeena pushed a commit that referenced this pull request May 3, 2018
* update doc for css validation

* pep8 stype coding

* minor change

* pep8 coding update #2

* pep8 codin update #3

* pep8 codin update #4

* pep8 coding update #5
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