mirror of
https://github.com/novoid/guess-filename.py.git
synced 2026-02-16 13:24:15 +00:00
fixed issue with Android screenshots
This commit is contained in:
parent
ac6ddf95f8
commit
428ed2683e
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
PROG_VERSION = u"Time-stamp: <2018-04-01 14:17:02 vk>"
|
||||
PROG_VERSION = u"Time-stamp: <2018-04-01 14:18:51 vk>"
|
||||
|
||||
|
||||
# TODO:
|
||||
|
|
@ -500,7 +500,7 @@ class GuessFilename(object):
|
|||
return datetimestr + ' ' + self.config.SALARY_DESCRIPTION + ' ' + self.NumToMonth(month) + ' - € -- detego private.pdf'
|
||||
|
||||
# Android screenshots:
|
||||
# Screenshot_2013-03-05-08-14-09.png -> 2013-03-05T08-14-09 -- android screenshots.png
|
||||
# Screenshot_2013-03-05-08-14-09.png -> 2013-03-05T08.14.09 -- android screenshots.png
|
||||
regex_match = re.match(self.ANDROID_SCREENSHOT_REGEX, oldfilename)
|
||||
if regex_match:
|
||||
return self.build_string_via_indexgroups(regex_match, self.ANDROID_SCREENSHOT_INDEXGROUPS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue