Changeset - b394dc2b4373
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2015-07-08 23:10:59

pep8 active.py
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
spaceapi/active.py
Show inline comments
 
@@ -35,10 +35,11 @@ def reload_json():
 
            active_json['state']['lastchange'] = backup['state']['lastchange']
 
    else:
 
        active_json = copy.deepcopy(default_json)
 

	
 
reload_json()
 

	
 

	
 
def save_last_state():
 

	
 
    with open(last_state_file, mode='w', encoding='utf-8') as f:
 
        json.dump(active_json, f, sort_keys=True)
0 comments (0 inline, 0 general)