fix: incorrect call to is_up

pull/67/head
Raphaël Vinot 2020-03-17 15:13:52 +01:00
parent af98c2b075
commit f0754b60fa
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ The response is the permanent URL where you can see the result of the capture.
from pylookyloo import Lookyloo
lookyloo = Lookyloo('https://url.of.lookyloo.instance')
if lookyloo.is_up(): # to make sure it is up and reachable
if lookyloo.is_up: # to make sure it is up and reachable
permaurl = lookyloo.enqueue('http://url.to.lookup')
```

View File

@ -14,7 +14,7 @@ def main():
else:
lookyloo = Lookyloo()
if lookyloo.is_up():
if lookyloo.is_up:
url = lookyloo.enqueue(args.query)
print(url)
else:

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pylookyloo"
version = "0.6"
version = "0.7"
description = "Python client for Lookyloo"
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
license = "AGPL-3.0-or-later"