Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Update update.py #78

Merged
merged 1 commit into from
Jul 30, 2017
Merged

Update update.py #78

merged 1 commit into from
Jul 30, 2017

Conversation

BlackVirusScript
Copy link
Contributor

Add compatibility with Python3 by importing the urllib.request module if importing urllib2 fails.

Add compatibility with Python3 by importing the `urllib.request` module if importing `urllib2` fails.
@toolswatch toolswatch merged commit 13f6d15 into toolswatch:master Jul 30, 2017
@toolswatch
Copy link
Owner

Thanks bro

@toolswatch
Copy link
Owner

Now i need to fix this

vFeed-IO:vFeed mastermind$ python3 vfeedcli.py -u
[+] Checking for the latest database build
Traceback (most recent call last):
File "vfeedcli.py", line 53, in
Update().update()
File "/Users/mastermind/Documents/vFeed/community/test/vFeed/lib/core/update.py", line 47, in update
self.check_status()
File "/Users/mastermind/Documents/vFeed/community/test/vFeed/lib/core/update.py", line 102, in check_status
self.download(self.db_status, self.db_update)
File "/Users/mastermind/Documents/vFeed/community/test/vFeed/lib/core/update.py", line 65, in download
self.filesize = int(self.meta.getheaders("Content-Length")[0])
AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
vFeed-IO:vFeed mastermind$

@BlackVirusScript
Copy link
Contributor Author

Fixed on: #79

@BlackVirusScript BlackVirusScript deleted the patch-1 branch August 12, 2017 15:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants