cleaner syntax
This commit is contained in:
parent
cc050a4ec8
commit
833276412e
1 changed files with 2 additions and 4 deletions
|
@ -75,10 +75,8 @@ def _load(data):
|
|||
_data.append([])
|
||||
_data[data.screen].append(state)
|
||||
|
||||
except ValueError:
|
||||
pass
|
||||
except IndexError:
|
||||
pass
|
||||
except ValueError: pass
|
||||
except IndexError: pass
|
||||
file.close()
|
||||
|
||||
def _save(data):
|
||||
|
|
Loading…
Reference in a new issue