Index: branches/ariel/xmldumps-backup/monitor.py |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | |
49 | 49 | if __name__ == "__main__": |
50 | 50 | # can specify name of alternate config file |
51 | | - if (len(sys.argv) > 2): |
| 51 | + if (len(sys.argv) >= 2): |
52 | 52 | config = WikiDump.Config(sys.argv[1]) |
53 | 53 | else: |
54 | 54 | config = WikiDump.Config() |