Skip to content

Commit 03d408d

Browse files
committed
fix: code rabbit syntax fixs
1 parent d00dc12 commit 03d408d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/odc-cli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,9 @@ class SubjectCommands:
389389
@staticmethod
390390
def delete(id: str) -> None:
391391
entry = input("Are you sure you want to delete this subject? Type DELETE to Confirm: ")
392-
if(entry == "DELETE"):
392+
if entry == "DELETE":
393393
url =build_url_with_params(
394-
f'{config.base_url}' + quote(f'/v1/subjects/{id}', safe='/'),
394+
f'{config.base_url}/v1/subjects/{quote(id, safe="")}',
395395
{
396396
'force': True
397397
}

0 commit comments

Comments
 (0)