Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahsawyers committed Oct 12, 2019
1 parent 8533cfd commit aea0fbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion autostack/error/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Authors: Elijah Sawyers, Benjamin Sanders
Emails: elijahsawyers@gmail.com, ben.sanders97@gmail.com
Date: 10/09/2019
Overview:
Overview: TODO: Write overview.
'''

from __future__ import print_function
Expand Down
8 changes: 3 additions & 5 deletions autostack/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
Authors: Elijah Sawyers, Benjamin Sanders
Emails: elijahsawyers@gmail.com, ben.sanders97@gmail.com
Date: 03/17/2019
Overview: This opens the named pipe '/tmp/monitorPipe' and listens for data
passed to the pipe. If the data is detected to be a python error, it queries
Stack Overflow for the error and displays posts with accepted answers.
Overview: Entry point of autostack.
'''

from autostack.error import (
Expand All @@ -14,12 +12,12 @@
create_pipe
)

PIPE_PATH = './blah/blah2/monitorPipe'
PIPE_PATH = '/tmp/monitorPipe'


def main():
'''
Opens a fifo and starts listening for python errors inputed to the pipe.
Entry point of autostack.
'''

with create_pipe(PIPE_PATH) as pipe:
Expand Down

0 comments on commit aea0fbb

Please sign in to comment.