Skip to content

Commit

Permalink
command line args need to parsed before fply can be imported
Browse files Browse the repository at this point in the history
  • Loading branch information
tzwenn committed Mar 22, 2015
1 parent c4eb16e commit c82753e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env python

import config

if __name__ == "__main__":
config.parseArguments()

import common.register
import common.server
import mirror.service
Expand All @@ -17,5 +21,4 @@ def main():
pass

if __name__ == "__main__":
config.parseArguments()
main()

0 comments on commit c82753e

Please sign in to comment.