Commit f6edadd1 authored by Francesco Poldi's avatar Francesco Poldi

Fix arg timedelta

parent 74bb6407
......@@ -23,7 +23,8 @@ Command|Usage
`-s`|Search for Tweets containing this word or phrase.
`-g`|Retrieve tweets by geolocation. Format of the argument is lat,lon,range(km or mi).
`-o`|Save output to a file.
`-es`|Output to Elasticsearch
`-es`|Output to Elasticsearch.
`-t`|Choose the time interval for every request.
`--year`|Filter Tweets before the specified year.
`--fruit`|Display Tweets with "low-hanging-fruit".
`--tweets`|Display Tweets only.
......
......@@ -440,6 +440,9 @@ async def main():
print(str)
sys.exit(1)
if not arg.timedelta:
arg.timedelta = 30
if arg.userid is not None:
arg.u = await getUsername()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment