Move manual sync to own class

It's better to separate the code to gain more control over the manual
sync rather than working around the full sync and doing "if compare" all
over the place.
This commit is contained in:
angelblue05 2016-01-23 02:29:30 -06:00
parent 7fd8a686b8
commit 6653b1a929
2 changed files with 505 additions and 353 deletions

View file

@ -99,7 +99,7 @@ class Main:
import librarysync
lib = librarysync.LibrarySync()
if mode == "manualsync":
lib.fullSync(manualrun=True)
librarysync.ManualSync()
else:
lib.fullSync(repair=True)
else: