Browse Source

make msg dir on init

develop
Roel 10 years ago
parent
commit
7e2c473c96
  1. 1
      .gitignore
  2. 4
      main.py

1
.gitignore

@ -1,2 +1,3 @@
interfaceip6adress
msg/*
.DS_Store*

4
main.py

@ -19,6 +19,10 @@ class Meshenger:
print 'Building own index for the first time\n'
self.build_index()
if not os.path.exists(self.msg_dir):
os.mkdir(self.msg_dir)
print 'Making message directory'
try:
d = threading.Thread(target=self.discover)
d.daemon = True

Loading…
Cancel
Save