Skip to content

Commit 1c978d5

Browse files
committed
strip whitespace, fixes mvexel#101
1 parent afbaa5d commit 1c978d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overpass/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def search(self, feature_type, regex=False):
115115
Search = search
116116

117117
def _construct_ql_query(self, userquery, responseformat, verbosity):
118-
raw_query = str(userquery)
118+
raw_query = str(userquery).rstrip()
119119
if not raw_query.endswith(";"):
120120
raw_query += ";"
121121

0 commit comments

Comments
 (0)