Fix a bunch of bot code and checkin systemd files

This commit is contained in:
RussellChamp committed 2018-11-01 11:05:52 -04:00
1 parent 6770c70068
commit 2a2ed1e064
26 files changed
+222 -137

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
import collections
import glob
@@ -30,7 +30,7 @@ def find_stories(limit=999, shuffle=False):
files = random.sample(files, max(1, min(limit, len(files))))
else:
files = files[:limit]
return map(munge_story, files)
return list(map(munge_story, files))
# Count the number of replacable words in the story