Skip to content

Commit

Permalink
Merge pull request #2 from Leits/master
Browse files Browse the repository at this point in the history
Special identifier for auctions 'UA-EA-2016-...'
  • Loading branch information
kroman0 authored Jul 6, 2016
2 parents cff33e5 + 88a83a5 commit 6f99819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openprocurement/auctions/flash/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def generate_auction_id(ctime, db, server_id=''):
sleep(1)
else:
break
return 'UA-{:04}-{:02}-{:02}-{:06}{}'.format(ctime.year, ctime.month, ctime.day, index, server_id and '-' + server_id)
return 'UA-EA-{:04}-{:02}-{:02}-{:06}{}'.format(ctime.year, ctime.month, ctime.day, index, server_id and '-' + server_id)


def get_filename(data):
Expand Down

0 comments on commit 6f99819

Please sign in to comment.