Pattern: Voltino

This commit is contained in:
Karl Voit 2021-07-04 11:19:23 +02:00
parent c1b8257140
commit b85025e34e

View file

@ -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!