mirror of
https://github.com/alexkay/spek.git
synced 2025-04-15 08:10:33 +03:00
Fix crash when the preferences file is not writable
This commit is contained in:
parent
c275b90381
commit
070118155a
@ -49,7 +49,9 @@ namespace Spek {
|
||||
|
||||
public void save () {
|
||||
var output = FileStream.open (file_name, "w+");
|
||||
output.puts (key_file.to_data ());
|
||||
if (output != null) {
|
||||
output.puts (key_file.to_data ());
|
||||
}
|
||||
}
|
||||
|
||||
public bool check_update {
|
||||
|
Loading…
x
Reference in New Issue
Block a user