Refractor some decorators

This commit is contained in:
Odd Stråbø 2020-07-31 23:53:48 +02:00
parent 803081f65a
commit 3ec71e89d6
7 changed files with 101 additions and 106 deletions

View file

@ -110,7 +110,7 @@ class Library(threading.Thread):
with Database('video'), Database('music'):
pass
@stop()
@stop
def service(self):
''' If error is encountered, it will rerun this function.