Merge pull request from alanyee/patch-1

Use list comprehension in setup.py
This commit is contained in:
evilsocket 2019-12-03 11:40:34 +01:00 committed by GitHub
commit 03695be807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,12 +45,8 @@ def installer():
installer()
required = []
with open('requirements.txt') as fp:
for line in fp:
line = line.strip()
if line != "":
required.append(line)
required = [line.strip() for line in fp if line.strip() != ""]
import pwnagotchi