Bastien Sevajol (Algoo) 7 anni fa
parent
commit
6bc5d2d4dd
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2 2
      tracim/tracim/lib/daemons.py
  2. 1 1
      tracim/tracim/lib/email.py

+ 2 - 2
tracim/tracim/lib/daemons.py Vedi File

@@ -18,7 +18,7 @@ from rq.worker import StopRequested
18 18
 from tracim.lib.base import logger
19 19
 from tracim.lib.exceptions import AlreadyRunningDaemon
20 20
 
21
-from tracim.tracim.lib.utils import get_rq_queue
21
+from tracim.lib.utils import get_rq_queue
22 22
 
23 23
 
24 24
 class DaemonsManager(object):
@@ -163,7 +163,7 @@ class MailSenderDaemon(Daemon):
163 163
         pass
164 164
 
165 165
     def stop(self) -> None:
166
-        # When _stop_requested at False, tracim.tracim.lib.daemons.RQWorker
166
+        # When _stop_requested at False, tracim.lib.daemons.RQWorker
167 167
         # will raise StopRequested exception in worker thread after receive a
168 168
         # job.
169 169
         self.worker._stop_requested = True

+ 1 - 1
tracim/tracim/lib/email.py Vedi File

@@ -11,7 +11,7 @@ from tg.i18n import ugettext as _
11 11
 from tracim.lib.base import logger
12 12
 from tracim.model import User
13 13
 
14
-from tracim.tracim.lib.utils import get_rq_queue
14
+from tracim.lib.utils import get_rq_queue
15 15
 
16 16
 
17 17
 def send_email_through(