summaryrefslogtreecommitdiffstats
path: root/pyload/threads/BaseThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/threads/BaseThread.py')
-rw-r--r--pyload/threads/BaseThread.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/pyload/threads/BaseThread.py b/pyload/threads/BaseThread.py
index b7912e924..3655480dd 100644
--- a/pyload/threads/BaseThread.py
+++ b/pyload/threads/BaseThread.py
@@ -10,6 +10,7 @@ from traceback import format_exc
from pyload.utils import primary_uid
from pyload.utils.fs import listdir, join, save_join, stat, exists
+from pyload.setup.system import get_system_info
class BaseThread(Thread):
@@ -137,9 +138,7 @@ class BaseThread(Thread):
def getSystemDump(self):
dump = "SYSTEM:\n\n"
- dump += """Platform: %s
-Version: %s
-Encoding: %s
-FS-Encoding: %s
- """ % (sys.platform, sys.version, sys.getdefaultencoding(), sys.getfilesystemencoding())
+ for k,v in get_system_info().iteritems():
+ dump += "%s: %s\n" % (k, v)
+
return dump