MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / clean

Function clean

Scripts/ButSystem.py:15122–15135  ·  view source on GitHub ↗

clean. Internal helper function. This docstring was added automatically to improve maintainability. Args: s: Parameter. Returns: Varies.

(s: str)

Source from the content-addressed store, hash-verified

15120 conn.commit()
15121 conn.close()
15122 return jsonify({"ok": True})
15123
15124@app.route("/api/location/stop", methods=["POST"])
15125@login_required
15126def api_location_stop():
15127 """api_location_stop.
15128
15129Route handler or application helper.
15130
15131This docstring was expanded to make future maintenance easier.
15132
15133Returns:
15134 Varies.
15135"""
15136 me = current_user()
15137 conn = db_connect()
15138 conn.execute("UPDATE user_locations SET sharing=0, updated_at=? WHERE username=?", (now_z(), me))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected