Commit 603694995b91d295ca1cc41a2625bdc2fcdb94f5

Fix misc Windows startup bugs, bump contribtastic version
  
22
33; HM NIS Edit Wizard helper defines
44!define PRODUCT_NAME "Contribtastic"
5!define PRODUCT_VERSION "2.0-alpha"
6!define PRODUCT_PUBLISHER "StackWorks LLC"
5!define PRODUCT_VERSION "2.0-alpha6"
6!define PRODUCT_PUBLISHER "StackFoundry LLC"
77!define PRODUCT_WEB_SITE "http://eve-central.com"
88!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\uploader.exe"
99!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
  
8181
8282class Config(object):
8383
84 CONFIG_VERSION = '2.0-alpha1'
84 CONFIG_VERSION = '2.0-alpha6'
8585
8686
8787 def __init__(self):
144144 }
145145
146146 def save_config(self):
147
148
149147 file = open( self.filename, "w")
150
151148 pickle.dump(self.config_obj, file)
152
153149 file.close()
154
155
156150
157151 def load_config(self):
158152
  
1717# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
1818
1919from evec_upload.upload import *
20from evec_upload.uploader import get_uploader
2021from evec_upload.taskbar import *
2122import evec_upload.login
2223import evec_upload.options
  
122122 statinfo = os.stat(item)
123123
124124 if seen.get(item,-1) == statinfo.st_mtime:
125# print "IGNORE_SEEN:",item
126125 continue
127126 seen[item] = statinfo.st_mtime
128127
129128 if firstrun and statinfo.st_mtime <= start_ts:
130# print "IGNORE_TS:",item
131129 continue
132130
133131 if statinfo.st_mtime > highest_timestamp:
  
3232import evecache
3333
3434from evec_upload.config import Config
35config = Config()
3635
36
3737ProgramVersion = 2000
3838ProgramVersionNice = "2.0"
3939CheckVersion = 1031
4242#(DoneUploadEvent, EVT_DONE_UPLOAD) = wx.lib.newevent.NewEvent()
4343
4444def get_uploader(cfg, updcb):
45 config = Config()
4546 upl = UploaderEC(identity=0, donecb=updcb)
4647 upl.start()
4748
9191
9292class UploaderThread(Thread):
9393 def __init__(self, queue=None, donecb=None, identity=None):
94 config = Config()
9495 Thread.__init__(self)
9596 self.setDaemon(True)
9697
177177 'timestamp': payload.timestamp, 'cache': True,
178178 'region' : payload.regionid, 'typeid' : payload.typeid})
179179
180# h = urllib.urlopen("http://eve-central.com/datainput.py/inputdata", submitdata)
181# print h.read() # Gobble up result
182# h.close()
183180 import httplib
184181 conn = httplib.HTTPConnection(self.host)
185182 conn.request( "POST",