geier / pycarddav

DEPRECATED - use vdirsyncer & khard -- easy to use CLI CardDAV client
http://lostpackets.de/pycarddav
MIT License
99 stars 35 forks source link

Don't use account name as table name #81

Closed amatus closed 10 years ago

amatus commented 10 years ago

If a user tries to use the name "default" for an account name they get a cryptic error message:

CRITICAL:root:While syncing account "default" an error occured:
  near "default": syntax error

This is because we try to create a table named "default" and sqlite throws a syntax error.

geier commented 10 years ago

I've got some plans for redoing the db layout, will include a fix for this.