diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-07-23 00:09:44 +0200 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-07-23 00:09:44 +0200 |
commit | f7489327b421adc4bdd9aa86b920cbd87668afe6 (patch) | |
tree | fb4b67200295905429c4b29388d63e293d7134f4 | |
parent | [GoogledriveCom] Use API (diff) | |
download | pyload-f7489327b421adc4bdd9aa86b920cbd87668afe6.tar.xz |
[GoogledriveCom] Minor change
-rw-r--r-- | module/plugins/hoster/GoogledriveCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/GoogledriveCom.py b/module/plugins/hoster/GoogledriveCom.py index d6ead2d65..5b6e7b97f 100644 --- a/module/plugins/hoster/GoogledriveCom.py +++ b/module/plugins/hoster/GoogledriveCom.py @@ -13,7 +13,7 @@ from module.plugins.internal.misc import json class GoogledriveCom(Hoster): __name__ = "GoogledriveCom" __type__ = "hoster" - __version__ = "0.22" + __version__ = "0.23" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?(?:drive|docs)\.google\.com/(?:file/d/|(?:uc|open)\?.*id=)(?P<ID>[-\w]+)' @@ -46,7 +46,7 @@ class GoogledriveCom(Hoster): return json_data except BadHeader, e: - self.log_error("API Error: %s" % cmd, e, "ID: %s" % self.info['pattern']['ID']) + self.log_error("API Error: %s" % cmd, e, "ID: %s" % self.info['pattern']['ID'], "Error code: %s" % e.code) return None |