mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-22 09:38:18 +00:00
8 lines
206 B
Python
8 lines
206 B
Python
import uuid
|
|
import os
|
|
|
|
def generate_save_file_name(uid, prefix, filename):
|
|
filename, extension = os.path.splitext(filename)
|
|
ret = "%s%s" % ('/'.join([prefix, uid]), extension)
|
|
return ret
|