Skip to content

Commit 4f2ca25

Browse files
committed
FIX: fast-fix (code scanning error fixed)
1 parent 0500dc9 commit 4f2ca25

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jupyter_server/serverapp.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,17 +1714,17 @@ def shutdown_no_activity(self):
17141714

17151715
seconds_since_active = \
17161716
(utcnow() - self.web_app.last_activity()).total_seconds()
1717-
self.log.debug(_i18n("No activity for %d seconds.",
1718-
seconds_since_active))
1717+
self.log.debug("No activity for %d seconds.",
1718+
seconds_since_active)
17191719
if seconds_since_active > self.shutdown_no_activity_timeout:
1720-
self.log.info(_i18n("No kernels or terminals for %d seconds; shutting down.",
1721-
seconds_since_active))
1720+
self.log.info("No kernels or terminals for %d seconds; shutting down.",
1721+
seconds_since_active)
17221722
self.stop()
17231723

17241724
def init_shutdown_no_activity(self):
17251725
if self.shutdown_no_activity_timeout > 0:
1726-
self.log.info(_i18n("Will shut down after %d seconds with no kernels or terminals.",
1727-
self.shutdown_no_activity_timeout))
1726+
self.log.info("Will shut down after %d seconds with no kernels or terminals.",
1727+
self.shutdown_no_activity_timeout)
17281728
pc = ioloop.PeriodicCallback(self.shutdown_no_activity, 60000)
17291729
pc.start()
17301730

0 commit comments

Comments
 (0)