Skip to content

Commit

Permalink
refactor(server): remove worker decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
B4rtware committed Sep 7, 2020
1 parent ca1d52d commit 15a0cd9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions morpho/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ def __init__(
self._should_stop = Event()
self._worker = worker

def worker(self, func: Worker) -> None:
self._worker = func

def run(self, port: Optional[int] = None):
"""Class method which is used to invoke the server.
"""
Expand Down

0 comments on commit 15a0cd9

Please sign in to comment.