blob: 255d25080d45949b857e4c9b4fa7bc64ef6ed78b (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env python3
import os
import sys
for slug in sys.argv[1:]:
slug_path = os.path.join("events", slug, "slug")
if os.path.exists(slug_path):
continue
with open(slug_path, "w") as f:
f.write(slug)
|