summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test.py b/test.py
index a9761a9..a45720a 100755
--- a/test.py
+++ b/test.py
@@ -313,9 +313,7 @@ def process_package(db, filelike):
def main():
db = sqlite3.connect("test.sqlite3")
-
- with open(sys.argv[1]) as pkg:
- process_package(db, pkg)
+ process_package(db, sys.stdin)
if __name__ == "__main__":
main()