diff --git a/agent/__init__.py b/agent/__init__.py index e46de30..6eafe88 100644 --- a/agent/__init__.py +++ b/agent/__init__.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- from .mod_mikrotik import MikrotikTransmitter from .core import NasFailedResult, NasNetworkError from .structs import TariffStruct, AbonStruct diff --git a/agent/core.py b/agent/core.py index 91417dc..ad6d5f9 100644 --- a/agent/core.py +++ b/agent/core.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod from .structs import AbonStruct, TariffStruct diff --git a/agent/structs.py b/agent/structs.py index b00455b..e53d116 100644 --- a/agent/structs.py +++ b/agent/structs.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod from struct import pack, unpack, calcsize from .utils import int2ip, ip2int diff --git a/agent/utils.py b/agent/utils.py index d36a69a..b1b715b 100644 --- a/agent/utils.py +++ b/agent/utils.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- import socket import struct diff --git a/djing/utils/push_snmp_passw.py b/djing/utils/push_snmp_passw.py index bdbcebc..7d9d181 100644 --- a/djing/utils/push_snmp_passw.py +++ b/djing/utils/push_snmp_passw.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- import telnetlib from mydefs import ping from socket import error