Compare commits
No commits in common. "8828a4abefcb4626c32aa790398aa4c62eec059d" and "8fd6f3b751fd46c0d4571d1cf4f330dc38b8270e" have entirely different histories.
8828a4abef
...
8fd6f3b751
|
@ -253,7 +253,7 @@ def action(source_name, item_id, action):
|
||||||
data_path: Path = current_app.config["INTAKE_DATA"]
|
data_path: Path = current_app.config["INTAKE_DATA"]
|
||||||
source = LocalSource(data_path, source_name)
|
source = LocalSource(data_path, source_name)
|
||||||
item = execute_action(source, item_id, action)
|
item = execute_action(source, item_id, action)
|
||||||
return jsonify(item._item)
|
return jsonify(item)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/edit/source/<string:name>", methods=["GET", "POST"])
|
@app.route("/edit/source/<string:name>", methods=["GET", "POST"])
|
||||||
|
|
|
@ -172,7 +172,7 @@ def cmd_action(cmd_args):
|
||||||
source = LocalSource(data_path, args.source)
|
source = LocalSource(data_path, args.source)
|
||||||
try:
|
try:
|
||||||
item = execute_action(source, args.item, args.action, 5)
|
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:
|
except InvalidConfigException as ex:
|
||||||
print("Could not fetch", args.source, file=sys.stderr)
|
print("Could not fetch", args.source, file=sys.stderr)
|
||||||
print(ex, file=sys.stderr)
|
print(ex, file=sys.stderr)
|
||||||
|
|
|
@ -35,7 +35,6 @@ article {
|
||||||
}
|
}
|
||||||
article img {
|
article img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
article textarea {
|
article textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -35,7 +35,6 @@ article {
|
||||||
}
|
}
|
||||||
article img {
|
article img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
button, summary {
|
button, summary {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -19,7 +19,6 @@ article {
|
||||||
}
|
}
|
||||||
article img {
|
article img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
button, summary {
|
button, summary {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "intake"
|
name = "intake"
|
||||||
version = "1.0.6"
|
version = "1.0.4"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake = "intake.cli:main"
|
intake = "intake.cli:main"
|
||||||
|
|
Loading…
Reference in New Issue