From 938bbb73d15bd35b3952f8693e9e62046e57c6c1 Mon Sep 17 00:00:00 2001 From: Marcus Obst Date: Sat, 4 Mar 2017 17:02:04 +0100 Subject: [PATCH] Use correct argument --exclude instead of --ignore https://github.com/wakatime/sublime-wakatime/issues/70 --- WakaTime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WakaTime.py b/WakaTime.py index a7660fa..9de7095 100644 --- a/WakaTime.py +++ b/WakaTime.py @@ -537,7 +537,7 @@ class SendHeartbeatsThread(threading.Thread): if heartbeat.get('cursorpos') is not None: cmd.extend(['--cursorpos', heartbeat['cursorpos']]) for pattern in self.ignore: - cmd.extend(['--ignore', pattern]) + cmd.extend(['--exclude', pattern]) if self.debug: cmd.append('--verbose') if self.has_extra_heartbeats: