Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

downloader.py #46

Closed
MalwareViz opened this issue Feb 27, 2017 · 2 comments
Closed

downloader.py #46

MalwareViz opened this issue Feb 27, 2017 · 2 comments

Comments

@MalwareViz
Copy link

#This did not work for me.
#I believe the fix should be:
#%s should be %d

resp = sc.get('scanResult', params={
'startTime': findate.strftime('%d'),
'fields': 'name,finishTime,downloadAvailable,repository',
})

@SteveMcGrath
Copy link
Owner

unfortunately strftime is using values set by the format described below:

https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior

I did update the downloader script to convert using time.mktime instead. This should be the more correct way to handle this anyhow.

Thanks for the patience, life's been super-busy as of late.

@MalwareViz
Copy link
Author

MalwareViz commented Apr 19, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants