summaryrefslogtreecommitdiff
path: root/tradey.py
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2011-08-21 21:25:45 +0200
committerStefan Beller <stefanbeller@googlemail.com>2011-08-21 21:25:45 +0200
commit347f41eac9e33743172d319bcc2a4c7283497ccf (patch)
treea69237bd789be00e91f9bc10d1afe0e204b936ae /tradey.py
parentd845907f7e7e155490d4247c18be25fd0b96edc7 (diff)
downloadmanamarket-347f41eac9e33743172d319bcc2a4c7283497ccf.tar.gz
manamarket-347f41eac9e33743172d319bcc2a4c7283497ccf.tar.bz2
manamarket-347f41eac9e33743172d319bcc2a4c7283497ccf.tar.xz
manamarket-347f41eac9e33743172d319bcc2a4c7283497ccf.zip
Adding copyright notes
Diffstat (limited to 'tradey.py')
-rw-r--r--tradey.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tradey.py b/tradey.py
index 153d645..add8256 100644
--- a/tradey.py
+++ b/tradey.py
@@ -1,3 +1,11 @@
+#!/usr/bin/python
+"""
+ Copyright 2011, Dipesh Amin <yaypunkrock@gmail.com>
+ Copyright 2011, Stefan Beller <stefanbeller@googlemail.com>
+
+ This file is part of tradey, a trading bot in the mana world
+ see www.themanaworld.org
+"""
import time
from xml.etree.ElementTree import *
@@ -86,3 +94,6 @@ class ItemTree:
# Be sure to call save() after any changes to the tree.
self.tree = ElementTree(self.root)
self.tree.write("data/sale.xml")
+
+if __name__ == '__main__':
+ print "Do not run this file directly. Run main.py"