Commit 152cc8b0 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Use stop_decide()

parent e9fbefcf
......@@ -142,7 +142,7 @@ class AgkyraCLI(cmd.Cmd):
def do_pause(self, line):
"""Pause syncing"""
if not self.syncer.paused:
self.syncer.pause_decide()
self.syncer.stop_decide()
def do_status(self, line):
"""Get current status (running/paused, progress)"""
......
......@@ -208,7 +208,7 @@ class WebSocketProtocol(WebSocket):
self.start_sync()
def pause_sync(self):
self.syncer.pause_decide()
self.syncer.stop_decide()
def start_sync(self):
self.syncer.start_decide()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment