浏览代码

Fix typo in comment

Michael Hanselmann 9 年之前
父节点
当前提交
d668901df4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      borg/helpers.py

+ 1 - 1
borg/helpers.py

@@ -229,7 +229,7 @@ def to_localtime(ts):
 
 def parse_timestamp(timestamp):
     """Parse a ISO 8601 timestamp string"""
-    if '.' in timestamp:  # microseconds might not be pressent
+    if '.' in timestamp:  # microseconds might not be present
         return datetime.strptime(timestamp, '%Y-%m-%dT%H:%M:%S.%f').replace(tzinfo=timezone.utc)
     else:
         return datetime.strptime(timestamp, '%Y-%m-%dT%H:%M:%S').replace(tzinfo=timezone.utc)