Skip to content

Commit

Permalink
some typo
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 27, 2020
1 parent 470ecec commit 9275779
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Potoo

## What is it
Potoo is a special bird that communicates with VoIP ecosystem and particularly well with Wazo.

The main objective of this project is to quickly (and perhaps badly) provide solutions to missing functionalities in a given ecosystem.

Its best documentation is its source code and Potoo may be verry insecure.

## How to use potoo

1. `apt-get install python3-venv`
Expand Down
8 changes: 5 additions & 3 deletions potoo/routes/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
@app.route("/")
def index():
return """
<h1>Welcome to potoo </h1>
Potoo is a special bird that communicates with VoIP ecosystem and particularly well with Wazo
"""
<h1>Welcome to potoo </h1>
<p>Potoo is a special bird that communicates with VoIP ecosystem and particularly well with Wazo.</p>
<p>The main objective of this project is to quickly (and perhaps badly) provide solutions to missing functionalities in a given ecosystem.</p>
<p>Its best documentation is its source code and Potoo may be verry insecure.</p>
"""
4 changes: 1 addition & 3 deletions potoo/routes/queue_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def queue_show():

if authorized_ip():
queue = ''

try:
queue = get_param('queue')
except:
Expand All @@ -18,6 +17,7 @@ def queue_show():

stdout = run_shell(cmd)
html = stdout2html(stdout)

return html
else:
return '401'
Expand All @@ -27,9 +27,7 @@ def queue_show():
def queue_show_pretty():

if authorized_ip():

queue = ''

try:
queue = get_param('queue')
except:
Expand Down

0 comments on commit 9275779

Please sign in to comment.