Skip to content

Commit

Permalink
fix example app
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Nov 25, 2020
1 parent 673a738 commit 50cd234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/main.py
Expand Up @@ -26,7 +26,7 @@ def main():
epilog='''"For a moment, nothing happened.
Then, after a second or so, nothing continued to happen."''')

argparser.add_argument('config', metavar='CONFIG', type=file,
argparser.add_argument('config', metavar='CONFIG', type=argparse.FileType("r"),
help='configuration file')
args = argparser.parse_args()

Expand Down

0 comments on commit 50cd234

Please sign in to comment.