openpetswithchatandmcp/website/check_str.py
OpenPets Dev 65ac83849e Add 'website/' from commit '966aea480ffe1c340553aa878def30131d2af827'
git-subtree-dir: website
git-subtree-mainline: 8d3849caea
git-subtree-split: 966aea480f
2026-06-17 20:48:39 +00:00

16 lines
433 B
Python
Executable file

import sys
def run():
target = 'C:/ScriptoriumAI/scriptoriumai-ui/src/pages/EditorSimplified.tsx'
with open(target, 'r', encoding='utf-8') as f:
content = f.read()
to_find = """ ) : activeRightPaneTab === 'native_pdf' ? (
<NativePdfPanelShell"""
if to_find in content:
print("Found target string!")
else:
print("Target string not found in content!")
run()