fixed bug with settings. interface and privacy settings added

This commit is contained in:
ingvar1995 2016-03-03 19:44:01 +03:00
parent b9937c13cd
commit 635feb3532
4 changed files with 39 additions and 3 deletions

View file

@ -1,5 +1,7 @@
import os
import time
from platform import system
program_version = '0.0.1 (alpha)'
@ -17,6 +19,16 @@ def curr_time():
return time.strftime("%H:%M")
def get_style(style):
if style != 'default':
return style
else:
if system() == 'Linux':
return 'gtk'
elif system() == 'Windows':
return 'windows'
class Singleton(object):
def __new__(cls, *args):