Skip to content

Commit

Permalink
♻️ refactor: Removing debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquesebastiao committed Feb 1, 2024
1 parent 911be5a commit e56da91
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions netmikro/connector/routeros.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from time import sleep
from datetime import date, time
from typing import Dict, List, Optional, Union

Expand Down Expand Up @@ -254,9 +253,7 @@ def identity_set(self, new_identity: str):
"""
new_identity.strip()
self.cmd(f'/system identity set name={new_identity}')
sleep(2)
self.identity = new_identity
return self.identity

def note_set(self, note: str, show_at_login: bool = False):
"""
Expand Down Expand Up @@ -309,7 +306,9 @@ def ntp_client_get(self) -> Dict[str, Union[bool, str, int, List[str]]]:
'status': self._get(f'{ntp_command} status'),
'synced-server': self._get(f'{ntp_command} synced-server'),
'synced-stratum': int(self._get(f'{ntp_command} synced-stratum')),
'system-offset': self._get(f'{ntp_command} system-offset as-string')
'system-offset': self._get(
f'{ntp_command} system-offset as-string'
),
}

def ntp_client_set(
Expand Down

0 comments on commit e56da91

Please sign in to comment.