Skip to content
This repository was archived by the owner on Jun 23, 2024. It is now read-only.

Commit 05dcbd5

Browse files
committed
Fix bug of cli.py check -I -E
1 parent 974a3b4 commit 05dcbd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: sync/core/Check.py

+3
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ def ids(self, module_ids=None, new=False):
153153
def empty(self, module_ids=None, new=False):
154154
for track in self._get_tracks(module_ids, new):
155155
module_folder = self._modules_folder.joinpath(track.id)
156+
if not module_folder.exists():
157+
continue
158+
156159
track_json_file = module_folder.joinpath(TrackJson.filename())
157160
track.write(track_json_file)
158161

0 commit comments

Comments
 (0)