mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Expired pastes are removed from localStorage
This commit is contained in:
@ -158,7 +158,7 @@ class Paste(object):
|
||||
|
||||
#remove lock file
|
||||
os.remove(lock_file)
|
||||
except (IOError, OSError):
|
||||
finally:
|
||||
if os.path.isfile(lock_file):
|
||||
#remove lock file
|
||||
os.remove(lock_file)
|
||||
|
Reference in New Issue
Block a user