version 0.1.2

This commit is contained in:
ingvar1995 2016-05-13 12:08:45 +03:00
parent 29617c2168
commit f445a79e11
4 changed files with 10 additions and 11 deletions

View file

@ -1,16 +1,13 @@
# Toxygen
Toxygen is simple [Tox](https://tox.chat/) client written on pure Python
Toxygen is cross-platform [Tox](https://tox.chat/) client written on Python
[![Release](https://img.shields.io/github/release/xveduk/toxygen.svg?style=flat)](https://github.com/xveduk/toxygen/releases/latest)
[![License](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/xveduk/toxygen/master/LICENSE.md)
[![Open issues](https://img.shields.io/github/issues/xveduk/toxygen.svg?style=flat)](https://github.com/xveduk/toxygen/issues)
[![License](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/xveduk/toxygen/master/LICENSE.md)
### [Install](/docs/install.md) - [Contribute](/docs/contributing.md)
### [Install](/docs/install.md)
### [Contribute](/docs/contributing.md)
# Supported OS:
### Supported OS:
- Windows
- Linux

View file

@ -1,6 +1,7 @@
#Compile Toxygen
You can compile Toxygen using [PyInstaller](http://www.pyinstaller.org/)
Install PyInstaller:
``pip install pyinstaller``

View file

@ -2,7 +2,7 @@ from platform import system
import json
import os
import locale
from util import Singleton, curr_directory
from util import Singleton, curr_directory, log
import pyaudio
@ -16,8 +16,9 @@ class Settings(Singleton, dict):
data = fl.read()
try:
info = json.loads(data)
except:
except Exception as ex:
info = Settings.get_default_settings()
log('Parsing settings error: ' + str(ex))
super(self.__class__, self).__init__(info)
self.upgrade()
else:
@ -61,7 +62,7 @@ class Settings(Singleton, dict):
'language': 'English',
'save_history': False,
'allow_inline': True,
'allow_auto_accept': False,
'allow_auto_accept': True,
'auto_accept_path': None,
'show_online_friends': False,
'auto_accept_from_friends': [],

View file

@ -3,7 +3,7 @@ import time
from platform import system
program_version = '0.1.1'
program_version = '0.1.2'
def log(data):