Skip to content

Commit 951522a

Browse files
Vitalii BulyzhynVitalii Bulyzhyn
authored andcommitted
Return label from label_new method
1 parent eafd0ca commit 951522a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/diffgram/label/label_new.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ def label_new(self,
3636
self.get_label_file_dict()
3737

3838
if data["log"]["success"] == True:
39-
return
39+
return data['label']
4040
else:
4141
raise Exception(data["log"]["error"])

0 commit comments

Comments
 (0)