Skip to content

Commit

Permalink
docs: Remove patch()
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 3, 2023
1 parent 15ffb70 commit a19f694
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion agateremote/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, root, url_func=default_url_func, callback=agate.Table.from_cs
self._callback = callback

if not hasattr(agate.Table, 'from_url'):
raise AttributeError('Table.from_url is missing. Did you forget to run agateremote.patch()?')
raise AttributeError('Table.from_url is missing. Did you forget to import agateremote?')

def get_table(self, key):
"""
Expand Down
2 changes: 0 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

# import agateexcel
#
# agateexcel.patch()
#
# url = 'https://github.com/onyxfish/agate-excel/raw/master/examples/test.xls'
# table = agate.Table.from_url(url, callback=agate.Table.from_xls, binary=True)
#
Expand Down

0 comments on commit a19f694

Please sign in to comment.