polybar-weather: wait a bit longer when not online

This commit is contained in:
Vincent Bernat 2021-08-13 22:06:21 +02:00
parent 33babfb765
commit 481b258fe0

View file

@ -139,7 +139,7 @@ if __name__ == "__main__":
# Wait to be online
logger.info("not online, waiting")
update_status("", options.output)
time.sleep(2)
time.sleep(5)
process = subprocess.run(
["nm-online", "-q", "-t", str(options.online_timeout * 60)]
)