Skip to content
This repository was archived by the owner on Dec 24, 2021. It is now read-only.

Commit aa0351c

Browse files
committed
Korrektur Typo in wasseruhr.py
Korrektur Typo in wasseruhr.py
1 parent 6fe7d37 commit aa0351c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/wasseruhr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ def do_GET(self):
2020
if "url=" in self.path:
2121
url = parse.parse_qs(parse.urlparse(self.path).query)['url'][0]
2222
simple = True
23+
preValue = ''
2324
if ('&full' in self.path) or ('?full' in self.path):
2425
simple = False
2526
if 'prevalue' in self.path:
26-
prevValue = parse.parse_qs(parse.urlparse(self.path).query)['prevalue'][0]
27+
preValue = parse.parse_qs(parse.urlparse(self.path).query)['prevalue'][0]
2728
urllib.request.urlretrieve(url, './image_tmp/original.jpg')
2829
print('Picture Download done')
2930
result = 'Hello World'

0 commit comments

Comments
 (0)