Skip to content

Commit

Permalink
First prototype of the complete app
Browse files Browse the repository at this point in the history
  • Loading branch information
skulltech committed Jan 3, 2018
1 parent 4e1d1b6 commit 9d1fade
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions journal/journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

app = Flask(__name__)


def get_entries(name):
home = os.path.expanduser('~')
journaldir = os.path.join(home, '.journalist', name)
Expand Down Expand Up @@ -36,7 +37,3 @@ def view_journal():
name = request.args.get('name')
entries = get_entries(name)
return render_template('journal.html', name=name, entries=entries)


def run_app():
app.run()
Empty file modified journalist.py
100644 → 100755
Empty file.

0 comments on commit 9d1fade

Please sign in to comment.