diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-18 19:43:41 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-18 19:43:41 +0100 |
commit | a60f38c572c642c933b2ea1563221ac96d4dbcbb (patch) | |
tree | e6926a2bf52643eea1adbf7dd8e6293df457b261 /pavement.py | |
parent | show additional package info on hover (diff) | |
download | pyload-a60f38c572c642c933b2ea1563221ac96d4dbcbb.tar.xz |
worked on webui
Diffstat (limited to 'pavement.py')
-rw-r--r-- | pavement.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pavement.py b/pavement.py index 5b8e01260..01adf8dbc 100644 --- a/pavement.py +++ b/pavement.py @@ -43,7 +43,7 @@ setup( name="pyload", version="0.5.0", description='Fast, lightweight and full featured download manager.', - long_description=open(PROJECT_DIR / "README").read(), + long_description=open(PROJECT_DIR / "README.md").read(), keywords=('pyload', 'download-manager', 'one-click-hoster', 'download'), url="http://pyload.org", download_url='http://pyload.org/download', @@ -228,10 +228,10 @@ def load_icons(): f = PROJECT_DIR / "module" / "web" / "static" / "fonts" / "fontawesome.txt" icons = [line.split() for line in open(f, "rb").read().splitlines() if not line.startswith("#")] - icons = [{"name": n, "uni": u} for n, u in icons] + icons = [{"name": n, "uni": u, "file": "", "selected": True} for n, u in icons] - r = requests.post("http://icnfnt.com/api/createpack", data={"json_data": json.dumps(icons)}) - r = requests.get("http://icnfnt.com" + r.text) + r = requests.post("http://www.icnfnt.com/api/createpack", data={"json_data": json.dumps(icons)}) + r = requests.get("http://www.icnfnt.com" + r.text) zip = path("/tmp") / "fontawesome.zip" f = open(zip, "wb") |