diff options
-rw-r--r-- | elivepatch_server/resources/livepatch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elivepatch_server/resources/livepatch.py b/elivepatch_server/resources/livepatch.py index 00431cf..5c512a8 100644 --- a/elivepatch_server/resources/livepatch.py +++ b/elivepatch_server/resources/livepatch.py @@ -28,8 +28,8 @@ class PaTch(object): def get_lp_status(self): return self.livepatch_status - def update_lp_status(self, file): - if os.path.isfile(file): + def update_lp_status(self, livepatch): + if os.path.isfile(livepatch): self.livepatch_status = 'done' return self.livepatch_status |