aboutsummaryrefslogtreecommitdiff
path: root/pyfunkwhale/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyfunkwhale/utils.py')
-rw-r--r--pyfunkwhale/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyfunkwhale/utils.py b/pyfunkwhale/utils.py
index eb6da03..b92d2b9 100644
--- a/pyfunkwhale/utils.py
+++ b/pyfunkwhale/utils.py
@@ -4,7 +4,7 @@
import json
-def read_file(filename):
+def read_file(filename: str) -> str:
"""
Simple wrapper for read a file content
@@ -19,7 +19,7 @@ def read_file(filename):
return data
-def write_file(filename, datas):
+def write_file(filename: str, datas: str) -> str:
"""
Simple wrapper for write data in file