Add restart on fail

This commit is contained in:
Cyber MacGeddon 2024-07-17 21:32:53 +01:00
parent 29180216e6
commit 4e09ce75bc
3 changed files with 18 additions and 16 deletions

View file

@ -1,6 +1,6 @@
# VERSION=$(shell git describe | sed 's/^v//') # VERSION=$(shell git describe | sed 's/^v//')
VERSION=0.3.0 VERSION=0.3.1
all: container all: container

View file

@ -4,7 +4,7 @@ import os
with open("README.md", "r") as fh: with open("README.md", "r") as fh:
long_description = fh.read() long_description = fh.read()
version = "0.3.0" version = "0.3.1"
setuptools.setup( setuptools.setup(
name="trustgraph", name="trustgraph",

View file

@ -57,6 +57,8 @@ class BaseProcessor:
@classmethod @classmethod
def start(cls, prog, doc): def start(cls, prog, doc):
while True:
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
prog=prog, prog=prog,
description=doc description=doc