blackboard view fix
This commit is contained in:
@@ -53,7 +53,9 @@ class JobPosting(models.Model):
|
||||
encoding = locale.getpreferredencoding()
|
||||
args = [a.encode(encoding) for a in args]
|
||||
|
||||
ghostscript.Ghostscript(*args)
|
||||
#ghostscript.Ghostscript(*args)
|
||||
with ghostscript.Ghostscript(*args) as g:
|
||||
ghostscript.cleanup()
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
super().save(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user