summaryrefslogtreecommitdiff
path: root/mini.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-11-27 19:41:46 -0800
committerpepperpepperpepper <pepper@scannerjammer.com>2015-11-27 19:41:46 -0800
commit11a45143e555fbb5e651f5538a82d046661882a4 (patch)
tree9864da0cc0383259912977a4ee97322a443043c1 /mini.py
parent52cee319e519f26f8cb5631357c20bbfd16f81c3 (diff)
wrote the gallery route, just need to add the templating
Diffstat (limited to 'mini.py')
-rw-r--r--mini.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/mini.py b/mini.py
deleted file mode 100644
index a292e1d..0000000
--- a/mini.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from photoblaster.db.models.imcmd import ImCmd
-bob = ImCmd.query().filter(ImCmd.cmd.like('%{"%'))
-models = bob.all()
-for model in models:
- cmd = model.dataobj
- dataobj = model.cmd
- model.cmd = cmd
- model.dataobj = dataobj
- model.update()