Commit 486481ba authored by Aurel's avatar Aurel

index only if path provided

parent d532f92d
...@@ -152,7 +152,8 @@ class EngineMixin(object): ...@@ -152,7 +152,8 @@ class EngineMixin(object):
else: else:
raise ValueError("Unknown status command : %r" % (status['command'],)) raise ValueError("Unknown status command : %r" % (status['command'],))
domain.SQLCatalog_indexSyncMLDocumentList(path_list) if len(path_list):
domain.SQLCatalog_indexSyncMLDocumentList(path_list)
return sync_status_counter return sync_status_counter
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment