Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Commit e3961f5

Browse files
committed
Bugfix
1 parent 335b5b8 commit e3961f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coreapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from coreapi.transport import BaseTransport, HTTPTransport
77

88

9-
__version__ = '1.2.4'
9+
__version__ = '1.2.5'
1010
__all__ = [
1111
'BaseCodec', 'CoreJSONCodec', 'HTMLCodec', 'PlainTextCodec', 'PythonCodec',
1212
'negotiate_encoder', 'negotiate_decoder',

coreapi/commandline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def action(path, fields):
160160
return
161161

162162
session = get_session()
163-
keys = dotted_path_to_list(doc, path[0])
163+
keys = dotted_path_to_list(doc, path)
164164
doc = session.action(doc, keys, **kwargs)
165165
click.echo(dump_to_console(doc))
166166
write_to_store(doc)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy