diff --git a/backend.py b/backend.py new file mode 100644 index 0000000..e69de29 diff --git a/crawl.py b/crawl.py index 41baa8d..a0d373e 100755 --- a/crawl.py +++ b/crawl.py @@ -117,9 +117,7 @@ d | date: Print the date which the data is from. else: print("Not implemented: '" + " ".join(argv) + "'") except IndexError: - if argv is None: - pass - else: + if argv: print("Too few arguments: '" + " ".join(argv) + "'") except ValueError: print("The currency specified does not exist.") diff --git a/requirements.txt b/requirements.txt index 3faade6..d14e870 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ PyPDF3 appdirs -mechanize \ No newline at end of file +mechanize +money-lib \ No newline at end of file