Browse Source

Add strip

master
Inex Code 3 months ago
parent
commit
4c6f74b312
  1. 2
      nix_channel_server/app.py

2
nix_channel_server/app.py

@ -7,7 +7,7 @@ from flask import Flask, request, jsonify, redirect
from flask_restful import Api, Resource, reqparse
# Read the current nixos channel URL from file channel_url.txt
current_channel = open("channel_url.txt", "r").read()
current_channel = open("channel_url.txt", "r").read().strip()
class Channel(Resource):
def get(self):

Loading…
Cancel
Save