Skip to content

Commit 1652b92

Browse files
committed
Fix condition in snapshot script. Argv is never 2 long, it can be 3 or 4.
1 parent a1b215a commit 1652b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/make-snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import snapshot, sys
44

5-
if len(sys.argv) == 2:
5+
if len(sys.argv) == 3:
66
print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], ""))
77
else:
88
print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], sys.argv[3]))

0 commit comments

Comments
 (0)