mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Fixe
This commit is contained in:
@@ -19,7 +19,7 @@ elif exists('thingsboard_gateway/config/tb_gateway.yaml'):
|
||||
CONFIG_PATH = 'thingsboard_gateway/config/tb_gateway.yaml'
|
||||
elif exists(path.dirname(path.abspath(__file__)) + '/config/tb_gateway.yaml'.replace('/', path.sep)):
|
||||
CONFIG_PATH = path.dirname(path.abspath(__file__)) + '/config/tb_gateway.yaml'.replace('/', path.sep)
|
||||
elif exists("/etc/thingsboard-gateway/config/tb_gateway.yaml".replace('/', path.sep))
|
||||
elif exists("/etc/thingsboard-gateway/config/tb_gateway.yaml".replace('/', path.sep)):
|
||||
CONFIG_PATH = "/etc/thingsboard-gateway/config/tb_gateway.yaml".replace('/', path.sep)
|
||||
|
||||
class NotNullValidator(Validator):
|
||||
|
||||
Reference in New Issue
Block a user