More rename work

This commit is contained in:
jokob-sk committed 2024-04-07 12:38:17 +10:00
1 parent f06e084336
commit 775a119f32
106 files changed
+352 -2390

No files matched your search

+3 -5
View File
@@ -1,6 +1,4 @@
#!/usr/bin/env python
# test script by running:
# /home/pi/pialert/front/plugins/csv_backup/script.py overwrite=False location=/home/pi/pialert/config
import os
import pathlib
@@ -13,12 +11,12 @@ from io import StringIO
from datetime import datetime
sys.path.append("/home/pi/pialert/front/plugins")
sys.path.append('/home/pi/pialert/pialert')
sys.path.append('/home/pi/pialert/netalertx')
from plugin_helper import Plugin_Object, Plugin_Objects, decodeBase64
from logger import mylog, append_line_to_file
from helper import timeNowTZ
from const import logPath, pialertPath, fullDbPath
from const import logPath, applicationPath, fullDbPath
CUR_PATH = str(pathlib.Path(__file__).parent.resolve())
@@ -42,7 +40,7 @@ def main():
mylog('verbose', ['[CSVBCKP] In script'])
# Connect to the PiAlert SQLite database
# Connect to the App database
conn = sqlite3.connect(fullDbPath)
cursor = conn.cursor()