Permalink
Browse files

Recompressed static to get new featured and fixed bug with non create…

…d subpath
  • Loading branch information...
1 parent b25b01e commit 489946df63b689500d80f5fcc58f1d5f40a17662 @sametmax committed May 21, 2012
Showing with 8 additions and 8 deletions.
  1. +1 −1 docs/index.rst
  2. +5 −5 zerobin/paste.py
  3. +1 −1 zerobin/static/css/style.min.css
  4. +1 −1 zerobin/static/js/main.min.js
View
@@ -28,4 +28,4 @@
.. _Signaler un bug: https://github.com/sametmax/0bin/issues
-.. _Report a bug: <https://github.com/sametmax/0bin/issues>
+.. _Report a bug: https://github.com/sametmax/0bin/issues
View
@@ -133,11 +133,11 @@ def save(self):
os.makedirs(self.build_path(head, tail))
self.DIR_CACHE.add((head, tail))
- elif (head, tail) not in self.DIR_CACHE:
- path = self.build_path(head, tail)
- self.DIR_CACHE.add((head, tail))
- if not os.path.isdir(path):
- os.mkdir(path)
+ if (head, tail) not in self.DIR_CACHE:
+ path = self.build_path(head, tail)
+ self.DIR_CACHE.add((head, tail))
+ if not os.path.isdir(path):
+ os.mkdir(path)
# add a timestamp to burn after reading to allow
# a quick period of time where you can redirect to the page without

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 489946d

Please sign in to comment.