revert unintended commit of person/factories.py

- Legacy-Id: 19012
This commit is contained in:
Robert Sparks 2021-05-20 17:38:31 +00:00
parent 7cbaad721a
commit 48fef02aab

View file

@ -96,8 +96,6 @@ class PersonFactory(factory.DjangoModelFactory):
obj.photo_thumb = media_name
photosrc = os.path.join(settings.TEST_DATA_DIR, "profile-default.jpg")
photodst = os.path.join(settings.PHOTOS_DIR, photo_name + '.jpg')
debug.show('photosrc')
debug.show('photodst')
if not os.path.exists(photodst):
shutil.copy(photosrc, photodst)
def delete_file(file):