Skip to content

Commit

Permalink
Windows fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EggPool committed Dec 21, 2018
1 parent 39e3edb commit 44401f9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tornado
bismuthclient>=0.0.30
cachetools
aiohttp
2 changes: 1 addition & 1 deletion wallet/crystals/200_dragginator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def async_get(url, is_json=False):
# async with aiohttp.ClientSession() as session:
async with HTTP_SESSION.get(url) as resp:
if is_json:
return await resp.json()
return await resp.json(content_type=None)
else:
return await resp.text()
# TODO: could use resp content-type to decide
Expand Down
2 changes: 1 addition & 1 deletion wallet/make_dist.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyinstaller --hidden-import tornado.locale --onefile wallet.py
pyinstaller --hidden-import tornado.locale --hidden-import aiohttp --onefile wallet.py
robocopy locale dist/locale /S /E *.mo
mkdir dist/themes
robocopy themes/material dist/themes/material /S /E
Expand Down
3 changes: 2 additions & 1 deletion wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
from modules.basehandlers import BaseHandler, CrystalLoader
from modules import helpers
from modules.crystals import CrystalManager
from modules import i18n # helps pyinstaller

__version__ = '0.0.72'
__version__ = '0.0.73'

define("port", default=8888, help="run on the given port", type=int)
define("listen", default="127.0.0.1", help="On which address to listen, locked by default to localhost for safety", type=str)
Expand Down

0 comments on commit 44401f9

Please sign in to comment.