[damned-lies] Fixed wrong Path method name
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fixed wrong Path method name
- Date: Wed, 17 Mar 2021 21:40:21 +0000 (UTC)
commit 4a420cf6d18359c692376e3f47311e4a009d84b1
Author: Claude Paroz <claude 2xlibre net>
Date: Wed Mar 17 22:40:11 2021 +0100
Fixed wrong Path method name
stats/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stats/utils.py b/stats/utils.py
index 9fd4ebd0..20aed1eb 100644
--- a/stats/utils.py
+++ b/stats/utils.py
@@ -654,7 +654,7 @@ def collect_its_data():
from .models import Module, ModuleLock
if not ITS_DATA_DIR.exists():
- ITS_DATA_DIR.mkdirs()
+ ITS_DATA_DIR.mkdir()
data_to_collect = getattr(settings, 'GETTEXT_ITS_DATA', {})
for module_name, files in data_to_collect.items():
mod = Module.objects.get(name=module_name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]