seed the rng by time
This commit is contained in:
parent
3571b643d4
commit
590f344c6d
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
from sys import argv, exit
|
from sys import argv, exit
|
||||||
from os import walk, path
|
from os import walk, path
|
||||||
from random import choice
|
from random import choice, seed
|
||||||
import time, urllib.parse
|
import time, urllib.parse
|
||||||
|
|
||||||
from article_utils import parse_metadata, MONTHS
|
from article_utils import parse_metadata, MONTHS
|
||||||
@ -12,6 +12,8 @@ if len(argv) <= 1:
|
|||||||
print("No directory was supplied")
|
print("No directory was supplied")
|
||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
|
seed()
|
||||||
|
|
||||||
page_metadata = """Title: mjestečko
|
page_metadata = """Title: mjestečko
|
||||||
CSS: /style.css
|
CSS: /style.css
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user