aboutsummaryrefslogtreecommitdiffstats
path: root/dvb-t/fi-Rautjarvi_Simpele
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2014-04-05 16:53:45 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2014-04-05 16:53:45 +0100
commit1a75269c26b00de927262a10ef06374226e7a3c4 (patch)
tree807be660948c3e16f726fc97c97f6fb1b96355aa /dvb-t/fi-Rautjarvi_Simpele
parent5f5c34e8e0758f5f9480302d38345257ced3251e (diff)
downloaddtv-scan-tables-1a75269c26b00de927262a10ef06374226e7a3c4.tar.gz
d/control: update Homepage (upstream has moved from Gitweb to cgit)
Diffstat (limited to 'dvb-t/fi-Rautjarvi_Simpele')
0 files changed, 0 insertions, 0 deletions
Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
import urllib
import shutil

download_path = "/tmp/"

def saveimage(imageurl):
	filename = imageurl.split('/')[-1]
	tmpname = filename + ".tmp"
	try:
		urllib.urlretrieve(imageurl, download_path + tmpname)
	except IOError:
		return "Error downloading file"
	else:
		shutil.move(download_path + tmpname, download_path + filename)
		return download_path + filename


#saveimage("http://www.switch.ch/network/operation/statistics/geant2-day.png")
#saveimage("http://192.168.12.113/mrtg/127.0.0.1_2-day.png")