File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 34
34
MYJDUnknownException ,
35
35
)
36
36
37
- __version__ = "1.1.1 "
37
+ __version__ = "1.1.2 "
Original file line number Diff line number Diff line change @@ -464,12 +464,14 @@ def get_package_count(self):
464
464
"""
465
465
pass
466
466
467
- def rename_package (self ):
467
+ def rename_package (self , package_id , new_name ):
468
468
"""
469
- No idea what parameters i have to pass and/or i don't know what it does.
470
- If i find out i will implement it :P
469
+ Rename package name with package_id
471
470
"""
472
- pass
471
+ params = [package_id , new_name ]
472
+ resp = self .device .action (self .url + "/renamePackage" , params )
473
+ return resp
474
+
473
475
474
476
def query_packages (self ,
475
477
params = [{
Original file line number Diff line number Diff line change 11
11
long_description = f .read ()
12
12
setup (
13
13
name = 'myjdapi' ,
14
- version = '1.1.1 ' ,
14
+ version = '1.1.2 ' ,
15
15
description = 'Library to use My.Jdownloader API in an easy way.' ,
16
16
long_description = long_description ,
17
17
url = 'https://github.com/mmarquezs/My.Jdownloader-API-Python-Library/' ,
You can’t perform that action at this time.
0 commit comments