black-isort

pull/45/head
justheuristic 2 years ago
parent 9e2753a104
commit d1b17da45d

@ -15,7 +15,7 @@ if __name__ == "__main__":
for model in list_models(author=args.author, full=True):
last_modified = datetime.strptime(model.lastModified, "%Y-%m-%dT%H:%M:%S.%fZ")
if model.modelId.endswith("-main") or "/test-" not in model.Id:
if model.modelId.endswith("-main") or "/test-" not in model.modelId:
continue # remove only test models
if (datetime.now() - last_modified).total_seconds() > args.seconds_since_last_updated:

Loading…
Cancel
Save