16 lines
433 B
Python
Executable file
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()
|