forked from Github/guess-filename.py
Pattern: Voltino
This commit is contained in:
parent
c1b8257140
commit
b85025e34e
1 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
PROG_VERSION = u"Time-stamp: <2021-05-30 17:16:29 vk>"
|
||||
PROG_VERSION = u"Time-stamp: <2021-07-04 11:19:04 vk>"
|
||||
|
||||
|
||||
# TODO:
|
||||
|
|
@ -727,6 +727,12 @@ class GuessFilename(object):
|
|||
return regex_match.group('year') + '-' + regex_match.group('month') + '-' + regex_match.group('day') + 'T' + \
|
||||
regex_match.group('hour') + '.' + regex_match.group('minute') + '.' + regex_match.group('second') + " -- emacs screencasts.gif"
|
||||
|
||||
# 2021-07-04 Stromrechnung Voltino
|
||||
if datetimestr and self.contains_all_of(oldfilename, ["TZ-Vorschreibung", self.config.VOLTINO_Kundennummer]):
|
||||
return datetimestr + \
|
||||
" Voltino Vorschreibung Teilbetrag " + self.config.VOLTINO_Teilbetrag + " -- " + ' '.join(self.adding_tags(tags, ['bill'])) + \
|
||||
".pdf"
|
||||
|
||||
|
||||
# FIXXME: more cases!
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue