Commit Graph

16 Commits

Author SHA1 Message Date
flan
242c423c13 Use format() instead of concatenation 2018-08-28 17:35:08 +02:00
flan
2538db5c07 Remove redundant checks, check if user exists before changing password 2018-08-28 17:34:31 +02:00
flan
59fcf9e8c1 Fix ankisyncctl error messages 2018-08-28 17:26:08 +02:00
flan
5bcb01bd9e Use predefined config locations 2018-08-28 17:15:40 +02:00
flan
82d7126425 Use cwd in ankisyncctl.py for now 2018-08-20 04:05:18 +02:00
flan
32b82d5803 Fix up some changes made by 2to3 2017-11-04 02:53:49 +01:00
flan
0cc21101d7 2to3 everything 2017-11-04 02:06:42 +01:00
Christoph Mack
c805468449 Refactor ankiserverctl.py to delegate database operations to SqliteUserManager and use python3 compatible print calls. 2017-10-28 23:13:46 +02:00
flan
b0cb424770 Use os.path.join() for path concatenation 2017-10-28 19:55:50 +02:00
flan
4a9ee4d40c Rewrite command handling 2017-10-28 17:54:58 +02:00
flan
91b5a6e052 Remove redundant messages 2017-10-28 17:50:43 +02:00
flan
098c9dff4a Use user-prefixed data directory by default 2017-10-28 17:35:38 +02:00
flan
16d8bd9b78 Drop service management from ankisyncctl 2017-10-28 17:04:24 +02:00
Alexander Grüneberg
d23dd0122a Fix initial user creation.
sqlite3.connect automatically creates a database file if it doesn't
exist yet. Consequently, os.path.isfile will always return true, the
auth table won't be created, and inserting a user will fail.
2013-12-06 16:19:27 -06:00
David Snopek
33c0fdcd1f Got ankiserverctl.py working on my system, installing into the system bin/ and working with config files in another directory.
Conflicts:
	setup.py
2013-12-06 16:14:22 -06:00
jdoe0
1bee3298d7 Added wrapper script 2013-10-24 04:44:38 -05:00