mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix gcode_hg source
This commit is contained in:
parent
be7e9105c0
commit
ca931633aa
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def _gcodehg_done(name, callback, res):
|
||||||
data = res.body.decode('utf-8')
|
data = res.body.decode('utf-8')
|
||||||
m = GCODE_HG_RE.search(data)
|
m = GCODE_HG_RE.search(data)
|
||||||
if m:
|
if m:
|
||||||
t = time.strptime('Aug 15, 2013', '%b %d, %Y')
|
t = time.strptime(m.group(1), '%b %d, %Y')
|
||||||
version = time.strftime('%Y%m%d', t)
|
version = time.strftime('%Y%m%d', t)
|
||||||
else:
|
else:
|
||||||
logger.error('%s: version not found.', name)
|
logger.error('%s: version not found.', name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue