Skip to content

Commit

Permalink
Merge pull request #78 from justinmcgrath/master
Browse files Browse the repository at this point in the history
Record current milliseconds in default file name.
  • Loading branch information
PierreGuilbertF authored Apr 19, 2019
2 parents e70d258 + f9f15ac commit 5f77b74
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions VelodyneHDL/python/veloview/applogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def colorByIntensity(sourceProxy):


def getTimeStamp():
format = '%Y-%m-%d-%H-%M-%S'
format = '%Y-%m-%d-%H-%M-%S.%f'
return datetime.datetime.now().strftime(format)


Expand Down Expand Up @@ -836,12 +836,6 @@ def saveLAS(filename, timesteps, transform = 0):
kiwiviewerExporter.zipDir(outDir, filename)
kiwiviewerExporter.shutil.rmtree(tempDir)


def getTimeStamp():
format = '%Y-%m-%d-%H-%M-%S'
return datetime.datetime.now().strftime(format)


def getSaveFileName(title, extension, defaultFileName=None):

settings = getPVSettings()
Expand Down

0 comments on commit 5f77b74

Please sign in to comment.