Skip to content

Commit 2aa3257

Browse files
committed
fix import and README.md urls
1 parent b518c78 commit 2aa3257

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,11 @@ appreciated on MacOS.
271271
[black-link]: https://github.com/psf/black
272272

273273

274-
[documentation]: https://pyrekordbox.readthedocs.io/en/latest
275-
[db6-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/db6
276-
[anlz-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/anlz
277-
[xml-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/xml
278-
[mysettings-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/mysetting
274+
[documentation]: https://pyrekordbox.readthedocs.io/en/latest/
275+
[db6-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/db6.html
276+
[anlz-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/anlz.html
277+
[xml-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/xml.html
278+
[mysettings-doc]: https://pyrekordbox.readthedocs.io/en/latest/formats/mysetting.html
279279

280280
[repo]: https://github.com/dylanljones/rekordtools
281281
[sqlcipher]: https://www.zetetic.net/sqlcipher/open-source/

pyrekordbox/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@
1818
)
1919
from .database import Rekordbox6Database
2020

21-
from ._version import version as __version__
21+
try:
22+
from ._version import version as __version__
23+
except ImportError:
24+
__version__ = "unknown"

0 commit comments

Comments
 (0)