This commit is contained in:
VanillaHellen 2021-01-18 16:13:21 +01:00
parent a4b04c7c8f
commit 1c7aa28ed0

View File

@ -23,7 +23,7 @@ def files(path):
yield file yield file
def save_input(oldpath): def save_input(oldpath):
# add timestampt the filename, so it wouln't overwrite # make timestampt the filename, so it wouln't overwrite
timestamp = str(int(time.time())) timestamp = str(int(time.time()))
filename = timestamp + '.' + oldpath.split('.')[-1] filename = timestamp + '.' + oldpath.split('.')[-1]
newpath = inputFilePath + '\\' + filename newpath = inputFilePath + '\\' + filename