ActivityWatch / ActivityWatch/aw-import-screentime

Events are duplicated on each run?

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
87
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Every time I run `main.py` it re-uploads all the events in `knowledgeC.db`, resulting in many duplicates in the AW database.

I suspect this is an issue that other Watchers have needed to deal with, but I haven't been able to find documentation on it. Is there a typical pattern in AW for avoiding duplicated events when running `insert_events`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.