aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--scudcloud-1.0/debian/changelog6
-rw-r--r--scudcloud-1.0/lib/wrapper.py5
-rwxr-xr-xscudcloud-1.0/scudcloud2
4 files changed, 13 insertions, 6 deletions
diff --git a/README.md b/README.md
index 9329398..9f1bb90 100644
--- a/README.md
+++ b/README.md
@@ -82,9 +82,9 @@ First, you'll need to install at least packages for `python3`, `python-qt4` (`qt
Then run the below script: it'll download the code and install it:
```bash
-wget https://github.com/raelgc/scudcloud/archive/v1.0.74.tar.gz
-tar -xvf v1.0.74.tar.gz
-cd scudcloud-1.0.74
+wget https://github.com/raelgc/scudcloud/archive/v1.0.75.tar.gz
+tar -xvf v1.0.75.tar.gz
+cd scudcloud-1.0.75
SOURCE="scudcloud-1.0"
INSTALL="/opt/scudcloud"
sudo mkdir -p $INSTALL/lib
diff --git a/scudcloud-1.0/debian/changelog b/scudcloud-1.0/debian/changelog
index fed6fcd..7e4821c 100644
--- a/scudcloud-1.0/debian/changelog
+++ b/scudcloud-1.0/debian/changelog
@@ -1,3 +1,9 @@
+scudcloud (1.0-75) trusty; urgency=medium
+
+ * Fixing random team icon names (#249)
+
+ -- Rael Gugelmin Cunha <rael.gc@gmail.com> Mon, 05 Oct 2015 08:21:22 -0300
+
scudcloud (1.0-74) trusty; urgency=medium
* Fixing fonts (#245)
diff --git a/scudcloud-1.0/lib/wrapper.py b/scudcloud-1.0/lib/wrapper.py
index 035fbdb..e91d8e7 100644
--- a/scudcloud-1.0/lib/wrapper.py
+++ b/scudcloud-1.0/lib/wrapper.py
@@ -1,4 +1,4 @@
-import sys, subprocess, os, json
+import sys, subprocess, os, json, tempfile
from urllib import request
from urllib.parse import urlparse
from resources import Resources
@@ -162,7 +162,8 @@ class Wrapper(QWebView):
self.window.teams(data['teams'])
if self.window.current() == self:
self.window.quicklist(data['channels'])
- filename, headers = request.urlretrieve(data['icon'])
+ iconFile = data['teams'][0]['team_name']+'.png'
+ filename, headers = request.urlretrieve(data['icon'], tempfile.gettempdir()+'/'+iconFile)
self.icon = filename
@QtCore.pyqtSlot(bool)
diff --git a/scudcloud-1.0/scudcloud b/scudcloud-1.0/scudcloud
index fbaa823..05e755e 100755
--- a/scudcloud-1.0/scudcloud
+++ b/scudcloud-1.0/scudcloud
@@ -14,7 +14,7 @@ from qsingleapplication import QSingleApplication
# The ScudCloud QMainWindow
win = None
-VERSION = '1.0.74'
+VERSION = '1.0.75'
def main():
global win;