Skip to content

Commit 65968d0

Browse files
committed
Corrected Service Response issue
1 parent 37988b3 commit 65968d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kepconfig/connectivity/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def auto_tag_gen(server, device_path):
177177
path_obj = kepconfig.path_split(device_path)
178178
try:
179179
r = server._config_update(server.url +channel._create_url(path_obj['channel']) + _create_url(path_obj['device']) + ATG_URL)
180-
job = KepServiceResponse(r.payload['code'],r.payload['message'], r.payload['href'])
180+
job = kepconfig.connection.KepServiceResponse(r.payload['code'],r.payload['message'], r.payload['href'])
181181
return job
182182
except KeyError as err:
183183
print('Error: No {} identified in {} | Function: {}'.format(err,'device_path', inspect.currentframe().f_code.co_name))

0 commit comments

Comments
 (0)