2024-10-23 07:20:41 +00:00
|
|
|
import sys
|
|
|
|
|
from datetime import datetime
|
|
|
|
|
from PyQt5.QtWidgets import QApplication
|
|
|
|
|
|
|
|
|
|
from components import ArchiveSynchronizer
|
|
|
|
|
from lib.helpers import ConfigReader
|
|
|
|
|
|
|
|
|
|
config = ConfigReader(system_id="st-ten-10")
|
|
|
|
|
app = QApplication(sys.argv)
|
|
|
|
|
|
2024-11-06 20:00:17 +00:00
|
|
|
test = ArchiveSynchronizer(config=config, name="remote_fetch_test")
|
|
|
|
|
file_path = "/uploads/warning_images/test.png"
|
|
|
|
|
result = test.remote_fetch(file_path)
|
2024-10-23 07:20:41 +00:00
|
|
|
print(result)
|