Compare commits

..

No commits in common. "8828a4abefcb4626c32aa790398aa4c62eec059d" and "8fd6f3b751fd46c0d4571d1cf4f330dc38b8270e" have entirely different histories.

7 changed files with 3 additions and 6 deletions

View File

@ -253,7 +253,7 @@ def action(source_name, item_id, action):
data_path: Path = current_app.config["INTAKE_DATA"]
source = LocalSource(data_path, source_name)
item = execute_action(source, item_id, action)
return jsonify(item._item)
return jsonify(item)
@app.route("/edit/source/<string:name>", methods=["GET", "POST"])

View File

@ -172,7 +172,7 @@ def cmd_action(cmd_args):
source = LocalSource(data_path, args.source)
try:
item = execute_action(source, args.item, args.action, 5)
print("Item:", item._item, file=sys.stderr)
print("Item:", item, file=sys.stderr)
except InvalidConfigException as ex:
print("Could not fetch", args.source, file=sys.stderr)
print(ex, file=sys.stderr)

0
intake/source.py Normal file → Executable file
View File

View File

@ -35,7 +35,6 @@ article {
}
article img {
max-width: 100%;
height: auto;
}
article textarea {
width: 100%;

View File

@ -35,7 +35,6 @@ article {
}
article img {
max-width: 100%;
height: auto;
}
button, summary {
cursor: pointer;

View File

@ -19,7 +19,6 @@ article {
}
article img {
max-width: 100%;
height: auto;
}
button, summary {
cursor: pointer;

View File

@ -1,6 +1,6 @@
[project]
name = "intake"
version = "1.0.6"
version = "1.0.4"
[project.scripts]
intake = "intake.cli:main"