Changeset 40973
- Timestamp:
- Oct 25, 2019, 2:12:23 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
backups/backup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/backups/backup.py
r40967 r40973 268 268 os.remove(log_file) 269 269 with open(log_file, "w+") as lf: 270 lf.write(f'Run started at: {datetime.date .today().strftime("%Y_%b_%d_%H:%M")}\n')270 lf.write(f'Run started at: {datetime.datetime.now().strftime("%Y_%b_%d_%H:%M")}\n') 271 271 272 272 def _write_end_log(self): … … 277 277 return 278 278 with open(log_file, "a") as lf: 279 lf.write(f'Last successful backup completed at : {datetime.date .today().strftime("%Y_%b_%d_%H:%M")}\n')279 lf.write(f'Last successful backup completed at : {datetime.datetime.now().strftime("%Y_%b_%d_%H:%M")}\n') 280 280 281 281
Note:
See TracChangeset
for help on using the changeset viewer.
