forked from HelloZeroNet/ZeroNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignore hidden files, ignore data dir, dont close on startup error, cr…
…eate necessary files and dirs on first start, start function to main.py, bad file solved log to info
- Loading branch information
1 parent
e141a77
commit effa267
Showing
6 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,12 @@ __pycache__/ | |
*.py[cod] | ||
|
||
# Log files | ||
*.log | ||
*.log | ||
|
||
# Hidden files | ||
.* | ||
!/.gitignore | ||
|
||
|
||
# Data dir | ||
data/* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
from src import main | ||
|
||
action_func = getattr(main, main.config.action) | ||
action_kwargs = main.config.getActionArguments() | ||
|
||
action_func(**action_kwargs) | ||
#!/usr/bin/env python | ||
|
||
try: | ||
from src import main | ||
main.start() | ||
except Exception, err: # Prevent closing | ||
import traceback | ||
traceback.print_exc() | ||
raw_input("-- Error happend, press enter to close --") |