From 8e27af4ea381c3c65487c39c54c8c71796251ae5 Mon Sep 17 00:00:00 2001
From: Branson Stephens <stephenb@uwm.edu>
Date: Wed, 16 Jan 2013 15:21:11 -0600
Subject: [PATCH] fixed bug in slot creation.

---
 gracedb/api.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gracedb/api.py b/gracedb/api.py
index 1a070cfed..1717448c3 100644
--- a/gracedb/api.py
+++ b/gracedb/api.py
@@ -856,6 +856,7 @@ class EventSlot(APIView):
 
         # UGLY hack to deal with /private vs /general dirs
         general = False
+        tmpFilename = filename
         if filename.startswith("general/"):
             tmpFilename = filename[len("general/"):]
             general = True
-- 
GitLab