diff options
author | fragonib <devnull@localhost> | 2011-04-24 21:22:00 +0200 |
---|---|---|
committer | fragonib <devnull@localhost> | 2011-04-24 21:22:00 +0200 |
commit | 1f10d82ae48705947ed3400fd775c84f477f66bd (patch) | |
tree | 246be07e4f6956db8040cf7b403c156e4c8219ca /module/plugins/hoster/BitshareCom.py | |
parent | fixes char replacement (diff) | |
download | pyload-1f10d82ae48705947ed3400fd775c84f477f66bd.tar.xz |
UploadStation & BitshareCom: Remove unicode workaround (yet implemented on Plugin module)
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
-rw-r--r-- | module/plugins/hoster/BitshareCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index f339f6662..c552cdd9d 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -13,7 +13,7 @@ def getInfo(urls): for url in urls: # Get file info html - # TODO: Force responses in english language + # @TODO: Force responses in english language so current patterns will be right html = getURL(url) if re.search(BitshareCom.FILE_OFFLINE_PATTERN, html): result.append((url, 0, 1, url)) @@ -73,7 +73,7 @@ class BitshareCom(Hoster): # File name name1 = re.search(BitshareCom.__pattern__, self.pyfile.url).group('name') name2 = re.search(BitshareCom.FILE_INFO_PATTERN, self.html).group('name') - self.pyfile.name = max(name1, name2) # Unicode BUG workaround + self.pyfile.name = max(name1, name2) # Ajax file id self.ajaxid = re.search(BitshareCom.FILE_AJAXID_PATTERN, self.html).group(1) |