]> git.ipfire.org Git - collecty.git/blobdiff - src/collectyd
daemon: Rename class and do not load with main module
[collecty.git] / src / collectyd
index 70b849dc2abd9e2f9f429b7341a6afe4f2dc162c..4a7590754571535e414b76b62c8630e1e28b3631 100755 (executable)
@@ -22,7 +22,7 @@
 import optparse
 import sys
 
-import collecty
+import collecty.daemon
 
 # Parse command line options.
 op = optparse.OptionParser(usage="usage: %prog [options]")
@@ -36,7 +36,7 @@ settings = {
 }
 
 # Initialize the application.
-c = collecty.Collecty(**settings)
+c = collecty.daemon.Daemon(**settings)
 
 # Run.
 c.run()