Files
dj/integration-work/inspect_bridge_live.py

5 lines
240 B
Python

import hashlib,pathlib
for folder in ('/home/ps/huobao-model-bridge','/home/ps/huobao-vdn/bridge'):
p=pathlib.Path(folder)/'bridge.py'
print(folder, hashlib.sha256(p.read_bytes()).hexdigest(), 'cancel route:', '/cancel' in p.read_text())