mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed duplicated function
This commit is contained in:
parent
d4dc019919
commit
034e4237fe
1 changed files with 0 additions and 11 deletions
|
|
@ -49,17 +49,6 @@ def check_active_table(func):
|
|||
return decorated
|
||||
|
||||
|
||||
def check_active_table(func):
|
||||
"""Handling auto reconnect in 3 retry times"""
|
||||
@functools.wraps(func)
|
||||
def decorated(obj, *args, **kwargs):
|
||||
if not obj.active_table:
|
||||
raise NotActiveTable("Active table is not set. (This is bug)")
|
||||
return func(obj, *args, **kwargs)
|
||||
|
||||
return decorated
|
||||
|
||||
|
||||
class DbConnector:
|
||||
log = logging.getLogger(__name__)
|
||||
timeout = 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue