1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 19:37:39 +03:00
Athanasius 1c269e9f4b Change darwin __raw_get() check for list to check it's not the OTHERS
On darwin this comes back with the type `__NSCFArray`, which I can't
find the definition of (in order to test against it).  So instead let's
check that `res` is not-None, and not one of `str` or `int`, because
then it should be (meant to be) `list`.

Yes, this is weird given the pre-rewrite code is:

```python
        def get(self, key: str) -> Union[None, list, str]:
            """Look up a string configuration value."""
            val = self.settings.get(key)
            if val is None:
                return None

            elif isinstance(val, str):
                return str(val)

            elif isinstance(val, list):
                return list(val)  # make writeable

            else:
                return None
```
But maybe something changed since 3.43 was tested and built.
2021-04-01 14:45:50 +01:00
2021-04-01 14:45:50 +01:00
2021-04-01 14:45:50 +01:00
2020-07-24 13:45:17 +01:00
2020-12-02 17:19:27 +02:00
2021-04-01 14:45:48 +01:00
2021-04-01 14:45:50 +01:00
2020-07-06 16:31:04 +01:00
2019-09-30 03:08:07 +01:00
2021-04-01 14:45:46 +01:00
2019-09-30 03:07:39 +01:00
2021-04-01 14:45:47 +01:00
2019-09-30 03:07:39 +01:00
2021-04-01 14:45:50 +01:00
2021-04-01 14:45:50 +01:00

Any questions or offers of help can be directed to the EDCD Discord #edmc channel:

Discord chat

Elite: Dangerous Market Connector (EDMC)

This application is only of use to PC players of the game Elite Dangerous (and its expansions). It won't work with PS4 or Xbox accounts.

It utilises the Journal files written by the game on the user's computer, together with data from the API Frontier Developments supplies in order to feed this data to various third party sites that the user may find useful.

See the Wiki documentation for more details.

Installation & Uninstall

Please see the Installation & Setup wiki page.

Running from source

Please see the Running from source wiki page.

Plugins

Plugins extend the behaviour of this app. See the Plugins wiki page for more information.

If you would like to write a plugin please see PLUGINS.md.

Troubleshooting

Please see the Troubleshooting wiki page.

Reporting a problem

Please report a problem as a new GitHub issue. Please wait for the error to occur and zip up and attach this app's log file to the new issue:

Mac:

  • $TMPDIR/EDMarketConnector.log

Windows:

  • %TMP%\EDMarketConnector.log

Packaging for distribution

Please see docs/Releasing.md.

Disclaimer

This app uses the “Companion” web API that Frontier originally supplied for their Elite Dangerous iOS app and now support for third-party apps. If that API ceases to function in the future then much of this application's functionality will be curtailed (although it could still utilise Journal files).

Acknowledgements

Please see the Acknowledgements wiki page.

License

Copyright © 2015-2019 Jonathan Harris, 2020 EDCD

Licensed under the GNU Public License (GPL) version 2 or later.

Description
Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
Readme GPL-2.0 63 MiB
Languages
Python 99.6%
Shell 0.4%