Browse Source

fix debug print on py 3.5k

Rafał Pitoń 8 years ago
parent
commit
91295fd958
1 changed files with 2 additions and 2 deletions
  1. 2 2
      misago/threads/models/attachment.py

+ 2 - 2
misago/threads/models/attachment.py

@@ -31,8 +31,8 @@ def upload_to(instance, filename):
 
 
         return os.path.join('attachments', spread_path[:2], spread_path[2:4], secret, filename_clean)
         return os.path.join('attachments', spread_path[:2], spread_path[2:4], secret, filename_clean)
     except Exception as e:
     except Exception as e:
-        print ''
-        print 'E> %s' % e
+        print('')
+        print('E> %s' % e)
         raise e
         raise e