Skip to content

Commit 696257c

Browse files
author
Ritwick DSouza
committed
[raspbian] Refactored template
1 parent 3b00071 commit 696257c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
{% for i, j in data.items() %}
2-
{% if i|string() == 'general' %}
3-
{% for general in j %}
4-
{% if general.get('timezone') %}
5-
run commands:
6-
$ timedatectl set-timezone {{ general.get('timezone') }}
1+
{% for general in data.general %}
2+
{% if general.get('timezone') %}
3+
run commands:
4+
$ timedatectl set-timezone {{ general.get('timezone') }}
75

8-
{% endif %}
9-
{% endfor %}
106
{% endif %}
117
{% endfor%}

0 commit comments

Comments
 (0)