From 9f362e78581d199b84c2d433f6db8ced4a8e77a8 Mon Sep 17 00:00:00 2001 From: moneromooo Date: Thu, 5 Feb 2015 21:40:42 +0000 Subject: [PATCH] Make the lock recursive This fixes !isregistered, which piggybacks onto RunRegisteredCommand --- tipbot/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipbot/utils.py b/tipbot/utils.py index 21f7c92..3f28aeb 100644 --- a/tipbot/utils.py +++ b/tipbot/utils.py @@ -30,7 +30,7 @@ cached_tipbot_balance=None cached_tipbot_unlocked_balance=None cached_tipbot_balance_timestamp=None -core_lock = threading.Lock() +core_lock = threading.RLock() def GetPassword(name): try: