diff options
Diffstat (limited to 'python/task_server/globeop.py')
| -rw-r--r-- | python/task_server/globeop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/task_server/globeop.py b/python/task_server/globeop.py index 0c5a82a9..7d0d3f39 100644 --- a/python/task_server/globeop.py +++ b/python/task_server/globeop.py @@ -113,7 +113,7 @@ def upload_data(startdate): file_to_upload = filelist[0][0]
newfile_to_upload = file_to_upload
if workdate < startdate:
- newfile_to_upload = "securitiesNpv{%Y%m%d_%H%M%S}.csv".\
+ newfile_to_upload = "securitiesNpv{0:%Y%m%d_%H%M%S}.csv".\
format(datetime.datetime.today())
# due to the way the drive is mounted, we get an exception when copy
# tries to change permissions
|
