Skip to content

Commit 489946d

Browse files
committed
Recompressed static to get new featured and fixed bug with non created subpath
1 parent b25b01e commit 489946d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828

2929

3030
.. _Signaler un bug: https://github.com/sametmax/0bin/issues
31-
.. _Report a bug: <https://github.com/sametmax/0bin/issues>
31+
.. _Report a bug: https://github.com/sametmax/0bin/issues

zerobin/paste.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ def save(self):
133133
os.makedirs(self.build_path(head, tail))
134134
self.DIR_CACHE.add((head, tail))
135135

136-
elif (head, tail) not in self.DIR_CACHE:
137-
path = self.build_path(head, tail)
138-
self.DIR_CACHE.add((head, tail))
139-
if not os.path.isdir(path):
140-
os.mkdir(path)
136+
if (head, tail) not in self.DIR_CACHE:
137+
path = self.build_path(head, tail)
138+
self.DIR_CACHE.add((head, tail))
139+
if not os.path.isdir(path):
140+
os.mkdir(path)
141141

142142
# add a timestamp to burn after reading to allow
143143
# a quick period of time where you can redirect to the page without

zerobin/static/css/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)