Skip to content

Commit

Permalink
Use debug when main.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihneadb committed May 22, 2016
1 parent ad595aa commit 2ae0e54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion execution_trace/viewer/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def main():
for line in f:
record_data.append(json.loads(line))

app.run()
debug = __name__ == '__main__'
app.run(debug=debug)


if __name__ == "__main__":
Expand Down

0 comments on commit 2ae0e54

Please sign in to comment.