Skip to content

Commit 900f15b

Browse files
committed
Changed version and removed useless comments.
1 parent 7b21564 commit 900f15b

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

myjdapi/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
MYJDUnknownException,
3535
)
3636

37-
__version__ = "1.0.6"
37+
__version__ = "1.0.7"

myjdapi/myjdapi.py

-2
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,6 @@ def action(self, path, params=(), http_action="POST"):
762762
connection = conn['conn']
763763
api = "http://" + connection["ip"] + ":" + str(
764764
connection["port"])
765-
# if self.myjd.request_api("/device/ping", "POST", None, self.__action_url(), api):
766765
response = self.myjd.request_api(path, http_action, params,
767766
action_url, api)
768767
if response is not None:
@@ -1067,7 +1066,6 @@ def request_api(self,
10671066
if params is not None:
10681067
for param in params:
10691068
if not isinstance(param, list):
1070-
# params_request+=[str(param).replace("'",'\"').replace("True","true").replace("False","false").replace('None',"null")]
10711069
params_request += [json.dumps(param)]
10721070
else:
10731071
params_request += [param]

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
long_description = f.read()
1212
setup(
1313
name='myjdapi',
14-
version='1.0.6',
14+
version='1.0.7',
1515
description='Library to use My.Jdownloader API in an easy way.',
1616
long_description=long_description,
1717
url='https://github.com/mmarquezs/My.Jdownloader-API-Python-Library/',
@@ -31,6 +31,5 @@
3131
],
3232
keywords='myjdapi jdownloader my.jdownloader api development',
3333
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
34-
# py_modules=["libgenapi"],
3534
install_requires=['requests','pycryptodome'],
3635
)

0 commit comments

Comments
 (0)