Merge pull request #172 from guilledk/make_piker_install_again

Minor fixes to make piker installable again
ems_tweaks
goodboy 2021-05-16 19:27:37 -04:00 committed by GitHub
commit 955b9f01a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class Client:
) -> dict: ) -> dict:
if since is None: if since is None:
since = arrow.utcnow().floor('minute').shift( since = arrow.utcnow().floor('minute').shift(
minutes=-count).timestamp minutes=-count).timestamp()
# UTC 2017-07-02 12:53:20 is oldest seconds value # UTC 2017-07-02 12:53:20 is oldest seconds value
since = str(max(1499000000, since)) since = str(max(1499000000, since))
json = await self._public( json = await self._public(

View File

@ -40,6 +40,7 @@ setup(
] ]
}, },
install_requires=[ install_requires=[
'toml',
'click', 'click',
'colorlog', 'colorlog',
'attrs', 'attrs',
@ -69,7 +70,7 @@ setup(
# UI # UI
'PyQt5', 'PyQt5',
'pyqtgraph', 'pyqtgraph',
'qdarkstyle', 'qdarkstyle==2.8.1',
# tsdbs # tsdbs
'pymarketstore', 'pymarketstore',