more refinements for the deployment
All checks were successful
Build container / Build (pull_request) Successful in 1m10s
All checks were successful
Build container / Build (pull_request) Successful in 1m10s
This commit is contained in:
@@ -14,7 +14,7 @@ class SetChatPhotoJob():
|
||||
self.bot = bot
|
||||
self.logger = logging.getLogger(self.__class__.__name__)
|
||||
|
||||
if models.IS_PRODUCTION:
|
||||
if not models.IS_PRODUCTION:
|
||||
# when running locally, annoy the programmer every 60 seconds <3
|
||||
job_queue.run_repeating(self.callback_photo, interval=60)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user