Skip to content

Updated saved session file format - #609

Open
ArisMorgens wants to merge 1 commit into
masterfrom
Aris/lh-filename
Open

Updated saved session file format#609
ArisMorgens wants to merge 1 commit into
masterfrom
Aris/lh-filename

Conversation

@ArisMorgens

Copy link
Copy Markdown
Member

In the lighthouse tab, the saved session used datetime.now().isoformat(timespec='seconds'), which leads to a filename with colons. This worked on Linux but not on Windows.
This PR fixes this by using dashes instead datetime.now().strftime('%Y-%m-%dT%H-%M-%S').

Fixes: bitcraze/crazyflie-clients-python#830

@enyanil enyanil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Windows, got no errors and can see the file in the config folder, so everything seems to work. Or is there something else to look for as well? Will test on Linux as well if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lighthouse calibration not working properly?

2 participants