aboutsummaryrefslogtreecommitdiff
path: root/cusmodules/cuswidgets
diff options
context:
space:
mode:
Diffstat (limited to 'cusmodules/cuswidgets')
-rwxr-xr-xcusmodules/cuswidgets/ticker_gecko.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cusmodules/cuswidgets/ticker_gecko.py b/cusmodules/cuswidgets/ticker_gecko.py
index d58e458..94fd1c6 100755
--- a/cusmodules/cuswidgets/ticker_gecko.py
+++ b/cusmodules/cuswidgets/ticker_gecko.py
@@ -111,7 +111,7 @@ def main():
return crprices[:15]
except Exception as e:
- with open(f'{home}/.local/share/ticker_gecko/ticker_gecko.log', 'w') as f:
+ with open(f'{home}/.local/share/ticker_gecko/ticker_gecko.log', 'w+') as f:
f.write(e)
return f'ERROR! Check "{home}/.local/share/ticker_gecko/ticker_gecko.log".'