Bläddra i källkod

more explicit return

Guénaël Muller 6 år sedan
förälder
incheckning
42e084bf08
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 2
      tracim/tracim/lib/utils.py

+ 1 - 2
tracim/tracim/lib/utils.py Visa fil

@@ -187,8 +187,7 @@ def current_date_for_filename() -> str:
187 187
     """
188 188
     ISO8601 current date, adapted to be used in filename (for
189 189
     webdav feature for example), with trouble-free characters.
190
-
191
-    :return: current date as string
190
+    :return: current date as string like "2018-03-19T15.49.27.246592"
192 191
     """
193 192
     # INFO - G.M - 19-03-2018 - As ':' is in transform_to_bdd method in
194 193
     # webdav utils, it may cause trouble. So, it should be replaced to