Commit 7c4a818d authored by rgaudin's avatar rgaudin
Browse files

Fixed #202: JSON failed to save on Windows

edupi_resources is saved either as-is or as a relative path depending on it being an URL or not.
If it is not set, it should be saved as None and not check for it being remote or not.
parent 866ff6f3
2.0-rc5
* Domain tld changed to .hotstop (was .lan)
* Supplied file (edupi_resource, logo, css, favicon) checked for existence
* Fixed JSON export on Windows [regression]
2.0-rc4
* Use decimal (GB) sizes for SD card selection
......
......@@ -759,8 +759,9 @@ class Application:
timezone = None
edupi_resources = self.get_edupi_resources()
if not isremote(edupi_resources):
edupi_resources = relpathto(self.get_edupi_resources())
if edupi_resources is not None:
if not isremote(edupi_resources):
edupi_resources = relpathto(self.get_edupi_resources())
zim_install = []
for zim in self.component.zim_list_store:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment