mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-29 11:09:42 +03:00
Fix pySim.esim.es2p.Param.timestamp._encode
************* Module pySim.esim.es2p pySim/esim/es2p.py:107:19: E1101: Class 'datetime' has no 'toisoformat' member (no-member) Change-Id: Ib762792d595048bf6d7d6f5acbe2715f137ae5bb
This commit is contained in:
@@ -104,7 +104,7 @@ class param:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _encode(cls, data):
|
def _encode(cls, data):
|
||||||
return datetime.toisoformat(data)
|
return datetime.isoformat(data)
|
||||||
|
|
||||||
class NotificationPointId(ApiParamInteger):
|
class NotificationPointId(ApiParamInteger):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user