mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Flame debugging io_preferences_file
This commit is contained in:
parent
d01ffd9373
commit
1d8acaa45d
1 changed files with 3 additions and 3 deletions
|
|
@ -15,9 +15,9 @@ def io_preferences_file(klass, filepath, write=False):
|
|||
flag = "w" if write else "r"
|
||||
yield open(filepath, flag)
|
||||
|
||||
except IOError:
|
||||
klass.log.info("Unable to work with preferences `{}`".format(
|
||||
filepath))
|
||||
except IOError as _error:
|
||||
klass.log.info("Unable to work with preferences `{}`: {}".format(
|
||||
filepath, _error))
|
||||
|
||||
|
||||
class FlameAppFramework(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue