mirror of
https://github.com/evilsocket/pwnagotchi.git
synced 2026-01-23 02:24:15 +00:00
Fix default setting to be an array, otherwise the iterator works over
characters, not strings.
This commit is contained in:
parent
d5a8cda278
commit
5255e5fd13
1 changed files with 1 additions and 2 deletions
|
|
@ -87,8 +87,7 @@ def append_images(images, horizontal=True, xmargin=0, ymargin=0):
|
|||
def main():
|
||||
parser = argparse.ArgumentParser(description="This program emulates\
|
||||
the pwnagotchi display")
|
||||
parser.add_argument('--displays', help="Which displays to use.", nargs="+",
|
||||
default="waveshare_2")
|
||||
parser.add_argument('--displays', help="Which displays to use.", nargs="+", default=["waveshare_2"])
|
||||
parser.add_argument('--lang', help="Language to use",
|
||||
default="en")
|
||||
parser.add_argument('--output', help="Path to output image (PNG)", default="preview.png")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue