X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cc9a57b827d7303c37f3b2d271e7c2f661d30e45..fe177037495a25bc50ec13b7817545cf869853f7:/apps/catalogue/utils.py?ds=sidebyside

diff --git a/apps/catalogue/utils.py b/apps/catalogue/utils.py
index 9de4eaa2d..29f40d16b 100644
--- a/apps/catalogue/utils.py
+++ b/apps/catalogue/utils.py
@@ -74,7 +74,7 @@ class LockFile(object):
         try:
             unlink(self.lockname)
         except OSError as oe:
-            if oe.errno != oe.EEXIST:
+            if oe.errno != EEXIST:
                 raise oe
         self.lock.close()