Prints removed, assets included

This commit is contained in:
Wiktor Mazur
2019-10-25 17:50:43 +02:00
parent fa8c6acfcf
commit 2579b45831
5 changed files with 21 additions and 10 deletions
+1 -2
View File
@@ -7,7 +7,7 @@ CFG_VERSION = '0.2'
default = """
[window]
width = 300
height = 230
height = 180
font-size = '10px'
opacity = 0.5
@@ -37,7 +37,6 @@ def config():
with open(conf_file, "r") as cfg_file:
cfg = toml.load(cfg_file)
if cfg['config']['version'] != CFG_VERSION:
print('version changed')
raise Exception('Version changed')
return cfg
except(Exception) as e: