[gsoc-admin] apply_substitutions: Unpack dictionary (forgotten)
- From: Lasse Schuirmann <lschuirma src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsoc-admin] apply_substitutions: Unpack dictionary (forgotten)
- Date: Wed, 12 Aug 2015 12:56:10 +0000 (UTC)
commit f911970c11b404db043f0875e888065fba810def
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date: Wed Aug 12 14:55:31 2015 +0200
apply_substitutions: Unpack dictionary (forgotten)
maillib/config.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/maillib/config.py b/maillib/config.py
index d467fca..9223fe8 100644
--- a/maillib/config.py
+++ b/maillib/config.py
@@ -19,7 +19,7 @@ def apply_substitutions(uri):
'day': now.day,
'hour': now.hour,
'minute': now.minute}
- return uri.format(substitutions)
+ return uri.format(**substitutions)
def get_main_data_from_section(section):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]