Skip to content

Commit 4508403

Browse files
author
Ritwick DSouza
committed
[raspbian] Reduce _get_encryption complexity
1 parent 879a0e7 commit 4508403

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netjsonconfig/backends/raspbian/converters/wireless.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _get_encryption(self, wireless):
7171
if encryption.get('cipher'):
7272
wpa_pairwise = str(encryption.get('cipher').replace('+', ' ')).upper()
7373
new_encryption.update({'wpa_pairwise': wpa_pairwise})
74-
elif 'enterprise' in method:
74+
else:
7575
if encryption.get('cipher'):
7676
cipher = str(encryption.get('cipher').replace('+', ' ').upper())
7777
new_encryption.update({'cipher': cipher})

0 commit comments

Comments
 (0)