diff options
author | Philip Sargent <philip@Muscogee.localdomain> | 2020-05-15 21:32:55 +0100 |
---|---|---|
committer | Philip Sargent <philip@Muscogee.localdomain> | 2020-05-15 21:32:55 +0100 |
commit | d4ac28af18ef41661c299a1b9fc1f630cda6193c (patch) | |
tree | be6a0200be3459835c21769a8073c6c45739d00d /databaseReset.py | |
parent | 931aa4e3cba04382b8d8c94658c7a871c739be5b (diff) | |
download | troggle-d4ac28af18ef41661c299a1b9fc1f630cda6193c.tar.gz troggle-d4ac28af18ef41661c299a1b9fc1f630cda6193c.tar.bz2 troggle-d4ac28af18ef41661c299a1b9fc1f630cda6193c.zip |
Remove PHOTOS_ROOT and DPhoto class
Diffstat (limited to 'databaseReset.py')
-rw-r--r-- | databaseReset.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databaseReset.py b/databaseReset.py index 0b62479..f4b12d7 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -53,8 +53,8 @@ def dirsredirect(): """Make directories that troggle requires and sets up page redirects """ #should also deal with permissions here. - if not os.path.isdir(settings.PHOTOS_ROOT): - os.mkdir(settings.PHOTOS_ROOT) + #if not os.path.isdir(settings.PHOTOS_ROOT): + #os.mkdir(settings.PHOTOS_ROOT) for oldURL, newURL in [("indxal.htm", reverse("caveindex"))]: f = troggle.flatpages.models.Redirect(originalURL = oldURL, newURL = newURL) f.save() |