Use correct argument --exclude instead of --ignore

https://github.com/wakatime/sublime-wakatime/issues/70
This commit is contained in:
Marcus Obst 2017-03-04 17:02:04 +01:00
parent 008fdc6b49
commit 938bbb73d1

View file

@ -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: