diff options
| author | Andy Davidoff <andy+github@disruptek.com> | 2020-02-15 21:50:39 -0500 |
|---|---|---|
| committer | Andy Davidoff <andy+github@disruptek.com> | 2020-02-15 21:50:39 -0500 |
| commit | 04ac178d6839a0fd1f12d63a739e3299fe6cf3b9 (patch) | |
| tree | 6a59a028ffd5d3fe8dd1ba29e22b4c08edb93408 /src | |
| parent | 30ed0739aa64abdb1dc4372c6618c4c5f35cd992 (diff) | |
| download | feed-nim-04ac178d6839a0fd1f12d63a739e3299fe6cf3b9.tar.gz feed-nim-04ac178d6839a0fd1f12d63a739e3299fe6cf3b9.zip | |
fix names on case-sensitive filesystems
Without this change, I was unable to pass the tests on Linux with
a case-sensitive filesystem.
Diffstat (limited to 'src')
| -rw-r--r-- | src/FeedNim.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FeedNim.nim b/src/FeedNim.nim index be9832d..f6fc9cd 100644 --- a/src/FeedNim.nim +++ b/src/FeedNim.nim @@ -1,8 +1,8 @@ import httpclient -import feednim/atom -import feednim/rss -import feednim/jsonfeed +import FeedNim/atom +import FeedNim/rss +import FeedNim/jsonfeed proc loadAtom*(filename: string): Atom = ## Loads the Atom from the given ``filename``. var Atom: string = readFile(filename) # Load the data from the file. @@ -30,4 +30,4 @@ proc loadJsonFeed*(filename: string): JsonFeed = ## Loads the JSONFeed from the proc getJsonFeed*(url: string): JsonFeed = ## Gets the JSONFeed over from the specified ``url``. var jsonFeed: string = newHttpClient().getContent(url) # Get the data. - return parseJSONFeed(jsonFeed)
\ No newline at end of file + return parseJSONFeed(jsonFeed) |
