Selaa lähdekoodia

more explicit return

Guénaël Muller 6 vuotta sitten
vanhempi
commit
42e084bf08
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      tracim/tracim/lib/utils.py

+ 1 - 2
tracim/tracim/lib/utils.py Näytä tiedosto

@@ -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