Skip to content

Commit 07b42c4

Browse files
committed
Fixed isoformat() for compatibility with python 2.7.5
1 parent eabe622 commit 07b42c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

onyxbackup/data/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
# part of OnyxBackupVM
4-
# Copyright (c) 2017-2018 OnyxFire, Inc.
4+
# Copyright (c) 2017-2020 OnyxFire, Inc.
55

66
# The above copyright notice and this permission notice shall be included in all
77
# copies or substantial portions of the Software.

onyxbackup/util/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_date_string_print(self, date=''):
7171
now = datetime.now()
7272
else:
7373
now = date
74-
return now.isoformat(' ', 'seconds')
74+
return now.isoformat(' ')
7575

7676
def get_elapsed(self, timedelta, granularity=2):
7777
intervals = (

0 commit comments

Comments
 (0)