1
0
mirror of https://github.com/Tafkas/fritzbox-munin.git synced 2023-10-10 13:36:55 +02:00

formatting

This commit is contained in:
Christian Stade-Schuldt 2017-09-06 22:41:09 +02:00
parent 4e5ede6d12
commit 9fe16979b7
2 changed files with 8 additions and 6 deletions

View File

@ -19,10 +19,11 @@
import os import os
import re import re
import sys import sys
import fritzbox_helper as fh import fritzbox_helper as fh
locale = os.environ.get('locale', 'de') locale = os.environ.get('locale', 'de')
patternLoc = {"de":"(\d+)\s(Tag|Stunden|Minuten)", \ patternLoc = {"de": "(\d+)\s(Tag|Stunden|Minuten)",
"en": "(\d+)\s(days|hours|minutes)"} "en": "(\d+)\s(days|hours|minutes)"}
dayLoc = {"de": "Tag", "en": "days"} dayLoc = {"de": "Tag", "en": "days"}
hourLoc = {"de": "Stunden", "en": "hours"} hourLoc = {"de": "Stunden", "en": "hours"}

View File

@ -19,6 +19,7 @@
import os import os
import re import re
import sys import sys
import fritzbox_helper as fh import fritzbox_helper as fh
locale = os.environ.get('locale', 'de') locale = os.environ.get('locale', 'de')